Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/next-json-configuration
Json configuration for next.
https://github.com/afeiship/next-json-configuration
config configuration json next
Last synced: 30 days ago
JSON representation
Json configuration for next.
- Host: GitHub
- URL: https://github.com/afeiship/next-json-configuration
- Owner: afeiship
- License: mit
- Created: 2020-04-23T14:31:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-10T00:38:21.000Z (almost 3 years ago)
- Last Synced: 2025-01-10T15:23:40.931Z (about 1 month ago)
- Topics: config, configuration, json, next
- Language: JavaScript
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-json-configuration
> Json configuration for next.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```bash
npm install -S @jswork/next-json-configuration
```## apis
| api | params | description |
|-----|--------|---------------|
| get | - | desc balabala |## usage
```js
import NxJsonConfiguration from '@jswork/next-json-configuration';
import path from 'path';const conf = new NxJsonConfiguration({ path: path.join(process.cwd(), 'package.json') });
conf.set('version', '1.0.1');
conf.get('version'); // 1.0.1
conf.save();
```## license
Code released under [the MIT license](https://github.com/afeiship/next-json-configuration/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/next-json-configuration
[version-url]: https://npmjs.org/package/@jswork/next-json-configuration[license-image]: https://img.shields.io/npm/l/@jswork/next-json-configuration
[license-url]: https://github.com/afeiship/next-json-configuration/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-json-configuration
[size-url]: https://github.com/afeiship/next-json-configuration/blob/master/dist/next-json-configuration.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/next-json-configuration
[download-url]: https://www.npmjs.com/package/@jswork/next-json-configuration