-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove dist from npm in v4 to avoid breaking dependents.
- Loading branch information
Showing
6 changed files
with
9 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,6 @@ Use the compiled file in the */dist* folder: | |
<script src="riff-chunks-min.js"></script> | ||
``` | ||
|
||
Or get it from the [jsDelivr](https://www.jsdelivr.com) CDN: | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
``` | ||
|
||
## Use | ||
```javascript | ||
const riffChunks = require("riff-chunks"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,8 +50,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm | |
<p><a href="https://www.npmjs.com/package/riff-chunks"><img src="https://img.shields.io/npm/v/riff-chunks.svg?style=for-the-badge" alt="NPM version"></a> <a href="https://rochars.github.io/riff-chunks/index.html"><img src="https://img.shields.io/badge/docs-online-blue.svg?style=for-the-badge" alt="Docs"></a><br><a href="https://codecov.io/gh/rochars/riff-chunks"><img src="https://img.shields.io/codecov/c/github/rochars/riff-chunks.svg?style=flat-square" alt="Codecov"></a> <a href="https://travis-ci.org/rochars/riff-chunks"><img src="https://img.shields.io/travis/rochars/riff-chunks.svg?style=flat-square" alt="Unix Build"></a> <a href="https://ci.appveyor.com/project/rochars/riff-chunks"><img src="https://img.shields.io/appveyor/ci/rochars/riff-chunks.svg?style=flat-square&logo=appveyor" alt="Windows Build"></a> <a href="https://scrutinizer-ci.com/g/rochars/riff-chunks/"><img src="https://img.shields.io/scrutinizer/g/rochars/riff-chunks.svg?style=flat-square&logo=scrutinizer" alt="Scrutinizer"></a></p> | ||
<h2>About</h2><p>Read and write the chunks of RIFF and RIFX files.</p> | ||
<h2>Install</h2><pre class="prettyprint source"><code>npm install riff-chunks</code></pre><h2>Browser</h2><p>Use the compiled file in the <em>/dist</em> folder:</p> | ||
<pre class="prettyprint source lang-html"><code><script src="riff-chunks-min.js"></script></code></pre><p>Or get it from the <a href="https://www.jsdelivr.com">jsDelivr</a> CDN:</p> | ||
<pre class="prettyprint source lang-html"><code><script src="https://cdn.jsdelivr.net/npm/[email protected]"></script></code></pre><h2>Use</h2><pre class="prettyprint source lang-javascript"><code>const riffChunks = require("riff-chunks"); | ||
<pre class="prettyprint source lang-html"><code><script src="riff-chunks-min.js"></script></code></pre><h2>Use</h2><pre class="prettyprint source lang-javascript"><code>const riffChunks = require("riff-chunks"); | ||
const fs = require("fs"); | ||
|
||
let chunks = riffChunks.read(fs.readFileSync("file.wav")); | ||
|
@@ -107,7 +106,7 @@ <h2>riffChunks.write()</h2><pre class="prettyprint source lang-javascript"><code | |
<br class="clear"> | ||
|
||
<footer> | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jun 11 2018 17:16:00 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jun 11 2018 20:45:58 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
</footer> | ||
|
||
<script>prettyPrint();</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "riff-chunks", | ||
"version": "4.0.7", | ||
"version": "4.0.8", | ||
"description": "Read and write the chunks of RIFF and RIFX files.", | ||
"homepage": "https://github.com/rochars/riff-chunks", | ||
"author": "Rafael da Silva Rocha <[email protected]>", | ||
|
@@ -47,6 +47,5 @@ | |
"dependencies": { | ||
"byte-data": "^8.0.0" | ||
}, | ||
"main": "index.js", | ||
"browser": "./dist/riff-chunks-min.js" | ||
"main": "index.js" | ||
} |