Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
vovikhangcdv committed Oct 6, 2022
1 parent f32e7f1 commit 86049ce
Show file tree
Hide file tree
Showing 9 changed files with 2,948 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# nosqldbm-converter

[![NPM version][npm-version-image]][npm-url]
[![NPM downloads][npm-downloads-image]][npm-downloads-url]
[![MIT License][license-image]][license-url]
[![FOSSA Status][fossa-badge-image]][fossa-badge-url]

Convert https://nosqldbm.ru/ JSON data to Moongose Schema.

# Getting started
1. Design your database on https://nosqldbm.ru/.
2. View JSON and Copy clipboard.
3. Save it as a file raw.json.
4. Load your schemas.

```js
const nosqldbmConverter = require('nosqldbm-converter')
const rawJSON = require('./raw.json');

console.log(nosqldbmConverter(rawJSON));
```

# License
This package is freely distributable under the terms of the [MIT license](https://github.com/vovikhangcdv/nosqldbm-converter/blob/main/LICENSE).

[![FOSSA Status][fossa-large-image]][fossa-large-url]

[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license-url]: LICENSE

[npm-url]: https://npmjs.org/package/nosqldbm-converter
[npm-version-image]: https://img.shields.io/npm/v/nosqldbm-converter.svg?style=flat

[npm-downloads-image]: https://img.shields.io/npm/dm/nosqldbm-converter.svg?style=flat
[npm-downloads-url]: https://npmcharts.com/compare/nosqldbm-converter?minimal=true

[fossa-badge-image]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Fvovikhangcdv%2Fnosqldbm-converter.svg?type=shield
[fossa-badge-url]: https://app.fossa.com/projects/git%2Bgithub.com%2Fvovikhangcdv%2Fnosqldbm-converter?ref=badge_shield

[fossa-large-image]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Fvovikhangcdv%2Fnosqldbm-converter.svg?type=large
[fossa-large-url]: https://app.fossa.com/projects/git%2Bgithub.com%2Fvovikhangcdv%2Fnosqldbm-converter?ref=badge_large
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./source/convert.js');
Loading

0 comments on commit 86049ce

Please sign in to comment.