oscilloscope
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "oscilloscope", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Waveform audio visualizer for the HTML5 canvas", | ||
"main": "lib/oscilloscope.js", | ||
"module": "src/main.js", | ||
"main": "dist/oscilloscope.js", | ||
"module": "dist/oscilloscope.es.js", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"rollup": "^0.45.2", | ||
"rollup-plugin-uglify": "^2.0.1", | ||
"rollup-plugin-buble": "^0.15.0" | ||
"bili": "^3.1.2", | ||
"rimraf": "^2.6.2", | ||
"standard": "*" | ||
}, | ||
"scripts": { | ||
"test": "standard src/*.js && standard --global Oscilloscope examples/*.js", | ||
"build": "rollup -c", | ||
"clean": "rimraf dist/*", | ||
"build": "npm run clean && bili --js buble --format es,umd,umd-min --moduleName Oscilloscope", | ||
"prepublish": "npm run build" | ||
@@ -37,8 +38,7 @@ }, | ||
"directories": { | ||
"example": "examples", | ||
"lib": "lib" | ||
"example": "examples" | ||
}, | ||
"files": [ | ||
"lib" | ||
"dist" | ||
] | ||
} |
# oscilloscope | ||
[](https://www.npmjs.com/package/oscilloscope) | ||
 | ||
 | ||
[](http://mvr.mit-license.org) | ||
 | ||
[](https://mvr.mit-license.org) | ||
Waveform audio visualizer for the HTML5 canvas. | ||
 | ||
## install | ||
Add the `oscilloscope.min.js` script to your HTML, or import the module and bundle it for the browser with your favorite module bundler. | ||
```bash | ||
Import the module and bundle it for the browser with your favorite module bundler, | ||
``` | ||
$ npm install oscilloscope | ||
``` | ||
or include it directly in your HTML: | ||
```html | ||
<script src="//unpkg.com/oscilloscope@1.1.0/dist/oscilloscope.min.js"></script> | ||
``` | ||
## example | ||
@@ -16,0 +23,0 @@ ```javascript |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13110
7
123
54
0