An open API service indexing awesome lists of open source software.

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

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
```