{"library":"join-js","type":"library","category":null,"description":"JoinJS is a JavaScript library designed to transform flat result sets from database queries, typically involving complex joins, into deeply nested JavaScript objects. It functions as a lightweight alternative to full-blown Object-Relational Mappers (ORMs), giving developers precise control over their SQL queries while simplifying the object mapping layer. The current stable version is 1.1.2, last updated in 2019, suggesting an irregular or halted release cadence. Key differentiators include its \"no-nonsense\" approach to database interaction, inspired by the Java MyBatis framework, which encourages writing raw SQL or using existing query builders like Knex.js, and then leveraging JoinJS solely for the post-query data structuring. It ships with TypeScript definitions, enhancing developer experience for type-safe applications.","language":"javascript","status":"abandoned","version":"1.1.2","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install join-js","imports":["import joinjs from 'join-js';","import joinjs from 'join-js';\njoinjs.map(resultSet, resultMaps, 'teamMap', 'team_');","import joinjs from 'join-js';\njoinjs.mapOne(resultSet, resultMaps, 'teamMap', 'team_');"]},{"cmd":"yarn add join-js","imports":[]},{"cmd":"pnpm add join-js","imports":[]}],"homepage":null,"github":"https://github.com/archfirst/joinjs","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/join-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/join-js/compatibility"}}