Vega helper library to simplify modification of the Vega and VegaLite JSON before parsing.
npm install vega-spec-injector!Node





> Vega helper library to simplify modification of the Vega and VegaLite JSON before parsing.
``js
import vegaSpecInjector from 'vega-spec-injector';
`
Install via yarn
yarn add vega-spec-injector (--dev)
or npm
npm install vega-spec-injector (--save-dev)
You can pass in extra options as a configuration object (ā required, ā optional, āļø default).
`js
import vegaSpecInjector from 'vega-spec-injector';
`
ā property ( type ) āļø default
š description
āļø warning
ā¹ļø info
š” example
#### #name
`js
vegaSpecInjector
`
See example folder or the runkit example.
If you don't use a package manager, you can access vega-spec-injector via unpkg (CDN), download the source, or point your package manager to the url.
vega-spec-injector is compiled as a collection of CommonJS modules & ES2015 modules for bundlers that support the jsnext:main or module field in package.json (Rollup, Webpack 2)
The vega-spec-injector package includes precompiled production and development UMD builds in the dist folder. They can be used directly without a bundler and are thus compatible with many popular JavaScript module loaders and environments. You can drop a UMD build as a