Move streams library to a separate package

This commit is contained in:
Daniel Huigens
2018-07-16 16:55:24 +02:00
parent 252da44419
commit 52c4fa9639
21 changed files with 43 additions and 740 deletions

View File

@@ -16,18 +16,18 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
/**
* @requires web-stream-tools
* @requires encoding/base64
* @requires enums
* @requires config
* @requires stream
* @requires util
* @module encoding/armor
*/
import stream from 'web-stream-tools';
import base64 from './base64.js';
import enums from '../enums.js';
import config from '../config';
import stream from '../stream';
import util from '../util';
/**

View File

@@ -12,11 +12,11 @@
*/
/**
* @requires stream
* @requires web-stream-tools
* @module encoding/base64
*/
import stream from '../stream';
import stream from 'web-stream-tools';
const b64s = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; // Standard radix-64
const b64u = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_'; // URL-safe radix-64