Package
to-json-schema
Convert JS object to JSON Schema
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 154k
- +86% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 6
- Direct, from package.json
- Last release
- 6 years ago
- v0.2.5
- GitHub stars
- 121
- 23 forks
- Open issues / PRs
- 6 / 13
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
153,998 downloads last week, 637,125 in the last month. The 12-month change of +86% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 0.2.5, 27 Mar 20206 years ago
- First published
- -
- Last push to GitHub
- 5 Jan 20231,358 days before the snapshot
- Repository archived
- No
- Open issues
- 6
- Open pull requests
- 13
- Commits, last 52 weeks
- 0
- Dependents on npm
- 133
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 30 kB
- Dependencies (6)
lodash.xorlodash.keyslodash.omitlodash.mergelodash.isequallodash.without
npm install to-json-schema- jsDelivr
https://cdn.jsdelivr.net/npm/to-json-schema@0.2.5/ - unpkg
https://unpkg.com/to-json-schema@0.2.5/ - esm.sh
https://esm.sh/to-json-schema@0.2.5
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @jsonhero/schema-infer | 8.6k | - | 3 years ago | CommonJS | - |
| @json-editor/json-editor | 33k | - | 30 days ago | CommonJS | - |
| mongoose-schema-jsonschema | 7.5k | - | 9 months ago | CommonJS | - |
| allof-merge | 94k | - | 7 months ago | ESM + CommonJS | - |
| @accordproject/concerto-core | 60.6k | - | 16 days ago | ESM + CommonJS | - |
| @exodus/schemasafe | 3.3m | - | 3 years ago | CommonJS | - |
| express-zod-api | 12.8k | - | 2 days ago | ESM only | - |
| @apidevtools/json-schema-ref-parser | 12.7m | - | 4 days ago | ESM only | - |
Indexability: Indexed.