music-metadata-browser
Advanced tools
Comparing version 1.4.0 to 1.5.0
{ | ||
"name": "music-metadata-browser", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "Browserifed version of music-metadata", | ||
"main": "dist/index.js", | ||
"typings": "dist/index", | ||
"main": "lib/index.js", | ||
"typings": "lib/index", | ||
"files": [ | ||
"lib/**/*.js", | ||
"lib/**/*.d.ts" | ||
], | ||
"repository": "https://github.com/Borewit/music-metadata-browser.git", | ||
@@ -56,8 +60,8 @@ "author": { | ||
"scripts": { | ||
"clean": "del-cli dist/** src/**/*.js src/**/*.js.map src/**/*.d.ts coverage", | ||
"compile-dist": "tsc -p src/tsconfig.dist.json", | ||
"compile-test": "tsc -p src/tsconfig.spec.json", | ||
"clean": "del-cli lib/**/*.js lib/**/*.js.map lib/**/*.d.ts coverage", | ||
"compile-lib": "tsc -p lib/tsconfig.dist.json", | ||
"compile-test": "tsc -p lib/tsconfig.spec.json", | ||
"prepublishOnly": "yarn run build", | ||
"build": "npm run compile-dist", | ||
"tslint": "tslint 'src/**/*.ts' --exclude 'src/**/*.d.ts'", | ||
"build": "npm run compile-lib && npm run compile-test", | ||
"tslint": "tslint 'lib/**/*.ts' --exclude 'lib/**/*.d.ts'", | ||
"eslint": "eslint karma.conf.js", | ||
@@ -77,3 +81,3 @@ "lint": "npm run tslint && npm run eslint", | ||
"@types/jasmine": "^3.3.13", | ||
"@types/node": "^12.6.2", | ||
"@types/node": "^12.7.7", | ||
"coveralls": "^3.0.3", | ||
@@ -84,3 +88,3 @@ "del-cli": "^3.0.0", | ||
"istanbul-instrumenter-loader": "^3.0.1", | ||
"jasmine-core": "^3.3.0", | ||
"jasmine-core": "^3.5.0", | ||
"karma": "^4.1.0", | ||
@@ -96,6 +100,6 @@ "karma-browserstack-launcher": "^1.5.1", | ||
"stream-http": "^3.0.0", | ||
"ts-loader": "^6.0.1", | ||
"ts-loader": "^6.1.2", | ||
"tslint": "^5.16.0", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.30.0" | ||
"webpack": "^4.41.0" | ||
}, | ||
@@ -106,3 +110,3 @@ "dependencies": { | ||
"debug": "^4.0.1", | ||
"music-metadata": "^4.6.0", | ||
"music-metadata": "^4.7.0", | ||
"readable-stream": "^3.3.0", | ||
@@ -109,0 +113,0 @@ "readable-web-to-node-stream": "^1.1.4", |
@@ -13,4 +13,15 @@ [![Build Status](https://travis-ci.org/Borewit/music-metadata-browser.svg?branch=master)](https://travis-ci.org/Borewit/music-metadata-browser) | ||
[music-metadata](https://github.com/Borewit/music-metadata) release for the browser. | ||
[music-metadata-borwser](https://github.com/Borewit/music-metadata-browser) is a metadata parser, supporting virtual any audio format and tag header around. | ||
[music-metadata-borwser](https://github.com/Borewit/music-metadata-browser) is a node module, designed for modern browser applications. | ||
Because modules don't run directly in the browser you need a _module bundler_, like [Webpack](https://webpack.js.org) or [Parcel](https://parceljs.org/). | ||
The _module bundler_ turns the modules (dependencies), together with you application code, into a static asset (typically a minified JavaScript file). | ||
The output of _module bundler_ is compatible and optimized for execution by a web browser. | ||
Integration with React or Angular should ne be a problem: | ||
* [example project using React framework](https://github.com/Borewit/music-metadata-react) | ||
* [example project using Angular framework](https://github.com/Borewit/audio-tag-analyzer) | ||
If you prefer to parse files or streams server (node.js) side, you should use [music-metadata](https://github.com/Borewit/music-metadata) instead. | ||
## Features | ||
@@ -36,3 +47,3 @@ | ||
| Ogg / Vorbis | | [:link:](https://wikipedia.org/wiki/Ogg_Vorbis) | <img src="https://upload.wikimedia.org/wikipedia/commons/8/8d/Xiph.Org_logo_square.svg" width="70" alt="Vorbis logo"> | | ||
| WAV | | [:link:](https://wikipedia.org/wiki/WAV) | <img src="https://www.shareicon.net/download/2015/12/08/684232_file.svg" width="60" alt="WAV logo"> | | ||
| WAV | RIFF WAVE | [:link:](https://wikipedia.org/wiki/WAV) | <img src="https://www.shareicon.net/download/2015/12/08/684232_file.svg" width="60" alt="WAV logo"> | | ||
| WV | WavPack | [:link:](https://wikipedia.org/wiki/WavPack) | <img src="http://www.wavpack.com/wavpacklogo.svg" width="60" alt="WavPack logo"> | | ||
@@ -60,4 +71,5 @@ | WMA | Windows Media Audio | [:link:](https://wikipedia.org/wiki/Windows_Media_Audio) | <img src="https://upload.wikimedia.org/wikipedia/commons/7/76/Windows_Media_Player_simplified_logo.svg" width="40" alt="Windows Media logo"> | | ||
## Online demo's | ||
* [<img src="https://gitcdn.xyz/repo/Borewit/audio-tag-analyzer/master/src/assets/icon/audio-tag-analyzer.svg" width="40">Audio Tag Analyzer](https://audio-tag-analyzer.netlify.com/) | ||
* [<img src="https://gitcdn.xyz/repo/Borewit/audio-tag-analyzer/master/src/assets/icon/audio-tag-analyzer.svg" width="40"> Audio Tag Analyzer](https://audio-tag-analyzer.netlify.com/) | ||
* [<img src="https://svgshare.com/i/8uW.svg" width="40"> Webamp](https://webamp.org/) | ||
* [<img src="https://raw.githubusercontent.com/hvianna/audioMotion.js/master/public/img/favicon256.png" width="40"> audioMotion](https://hvianna.github.io/audioMotion.js) | ||
@@ -79,7 +91,2 @@ ### Donation | ||
### Requirements | ||
[music-metadata-browser](https://www.npmjs.com/package/music-metadata-browser) is a module designed for a module bundler like [webpack](https://webpack.js.org/). | ||
A *module bundler* turns modules in static assets (typically one minified JavaScript file). | ||
Those *static assets* are then prepared, made compatible and optimized for execution by a web browser. | ||
### Import music-metadata | ||
@@ -86,0 +93,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37910
396
282
2
Updatedmusic-metadata@^4.7.0