https://github.com/netdata/charts
Netdata frontend SDK and chart utilities
https://github.com/netdata/charts
Last synced: 10 months ago
JSON representation
Netdata frontend SDK and chart utilities
- Host: GitHub
- URL: https://github.com/netdata/charts
- Owner: netdata
- License: gpl-3.0
- Created: 2021-04-27T10:06:43.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T16:06:32.000Z (over 1 year ago)
- Last Synced: 2024-11-24T09:15:45.352Z (over 1 year ago)
- Language: JavaScript
- Size: 5.56 MB
- Stars: 12
- Watchers: 15
- Forks: 5
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Netdata frontend SDK and chart utilities
## Storybook
https://netdata.github.io/charts
## Install
npm:
```shell
$ npm install @netdata/charts
```
yarn:
```shell
$ yarn add @netdata/charts
```
## Develop
```shell
$ yarn start
```
## Build
There are 3 different distributions. The following command creates the different distributions in the `./dist` folder
```shell
$ yarn build
```
Build the distributions isolated
**UMD** produces a single file `./dist/sdk.min.js` what contains the entire bundle
```shell
$ yarn build:umd
```
**ES6** Builds the files using ES Modules in `./dist/es6/*` folder
```shell
$ yarn build:es6
```
**cjs** Builds the files using CommonJS in `./dist/*` folder
```shell
$ yarn build:cjs
```
## Testing
```shell
$ yarn test
```
## Lint
```shell
$ yarn lint
```