@hawkersgroup/onesky-features
v0.1.8
Published
```shell npm install ```
Downloads
2
Keywords
Readme
Dependencies
npm install
Upload function
| Param | Description | | ----------- | ---------------------- | | language | es-ES | | secret | API SECRET from Onesky | | apiKey | API KEY from Onesky | | projectId | Project ID from Onesky | | fileName | es-ES.json | | format | 'HIERARCHICAL_JSON' | | keepStrings | Boolean |
Usage download file
const onesky = require('onesky-features').default;
const language = 'en';
onesky.download({
language,
format: 'HIERARCHICAL_JSON',
fileName: 'en.json',
secret: '123456789',
apiKey: 'abcdef1234567',
projectId: '1234',
distFolder: './locales',
keepString: true,
});