https://github.com/tsui66/egg-gstore
Datastore plugin for eggjs
https://github.com/tsui66/egg-gstore
database egg eggjs gstore gstore-node
Last synced: 2 months ago
JSON representation
Datastore plugin for eggjs
- Host: GitHub
- URL: https://github.com/tsui66/egg-gstore
- Owner: tsui66
- License: mit
- Created: 2019-02-04T08:14:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-04T10:37:31.000Z (over 7 years ago)
- Last Synced: 2025-03-25T23:32:44.171Z (over 1 year ago)
- Topics: database, egg, eggjs, gstore, gstore-node
- Language: JavaScript
- Size: 95.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# egg-gstore
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url]
[npm-image]: https://img.shields.io/npm/v/egg-gstore.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-gstore
[travis-image]: https://img.shields.io/travis/eggjs/egg-gstore.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/egg-gstore
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-gstore.svg?style=flat-square
[codecov-url]: https://codecov.io/github/eggjs/egg-gstore?branch=master
[david-image]: https://img.shields.io/david/eggjs/egg-gstore.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/egg-gstore
[snyk-image]: https://snyk.io/test/npm/egg-gstore/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/egg-gstore
[download-image]: https://img.shields.io/npm/dm/egg-gstore.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-gstore
## Install
```bash
$ npm i egg-gstore --save
```
## Usage
```js
// {app_root}/config/plugin.js
exports.gstore = {
enable: true,
package: 'egg-gstore',
};
```
## Configuration
```js
// {app_root}/config/config.default.js
exports.gstore = {
};
```
see [config/config.default.js](config/config.default.js) for more detail.
## Example
## Questions & Suggestions
Please open an issue [here](https://github.com/eggjs/egg/issues).
## License
[MIT](LICENSE)