mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
For strings we convert to Uint8Array, which does not support forEach on any version of IE, and is not polyfilled by default.
16 lines
328 B
JavaScript
16 lines
328 B
JavaScript
Package.describe({
|
|
summary: "Base64 encoding and decoding",
|
|
version: '1.0.12',
|
|
});
|
|
|
|
Package.onUse(api => {
|
|
api.export('Base64');
|
|
api.use('ecmascript');
|
|
api.mainModule('base64.js');
|
|
});
|
|
|
|
Package.onTest(api => {
|
|
api.use(['ecmascript', 'tinytest', 'ejson']);
|
|
api.addFiles('base64_test.js', ['client', 'server']);
|
|
});
|