A module for reading and writing JSON configuration files. This package includes runtime JavaScript files suitable for Node.js >=8 as well as the corresponding TypeScript type declarations.
See src/config-file.test.ts for examples of how to use this module's main export ConfigFile
.
If you encounter any bugs or have any questions or feature requests, please don't hesitate to file an issue or submit a pull request on this project's repository on GitHub.
To release the package to npmjs.org follow the steps:
- publish new version:
npm run publish:<major|minor|patch>
- check the github pipeline running, if successful a new version will be created and published to npmjs.org
- to get the auto-generated commit and tags, simply pull:
git pull
- [x] Ubuntu latest / Node.js: 16.x, 18.x, 20.x, 22.x
- [x] MacOS latest / Node.js: 16.x, 18.x, 20.x, 22.x
- [ ] Windows latest / Node.js: 16.x, 18.x, 20.x, 22.x - unit tests failing on Windows!