1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-03 17:49:16 +02:00

First attempt at adding a npm package.json for Issue #16

This commit is contained in:
codedread 2020-04-02 23:42:02 -07:00
parent 92decf206d
commit 1570f058f8
2 changed files with 45 additions and 0 deletions

18
index.js Normal file
View file

@ -0,0 +1,18 @@
/**
* index.js
*
* Licensed under the MIT License
*
* Copyright(c) 2020 Google Inc.
*/
export {
UnarchiveEvent, UnarchiveEventType, UnarchiveInfoEvent, UnarchiveErrorEvent,
UnarchiveStartEvent, UnarchiveFinishEvent, UnarchiveProgressEvent, UnarchiveExtractEvent,
Unarchiver, Unzipper, Unrarrer, Untarrer, getUnarchiver
} from './archive/archive.js';
export { findMimeType } from './file/sniffer.js';
export { convertWebPtoPNG, convertWebPtoJPG } from './image/webp-shim/webp-shim.js';
export { BitStream } from './io/bitstream.js';
export { ByteBuffer } from './io/bytebuffer.js';
export { ByteStream } from './io/bytestream.js';

27
package.json Normal file
View file

@ -0,0 +1,27 @@
{
"name": "@codedread/bitjs",
"version": "0.1.0",
"description": "Binary Tools for JavaScript",
"homepage": "https://github.com/codedread/bitjs",
"author": "Jeff Schiller",
"license": "MIT",
"keywords": [
"binary",
"javascript",
"archive",
"pkzip",
"zip",
"rar",
"tar",
"unzip",
"unrar",
"untar"
],
"main": "./index.js",
"type": "module",
"exports": "./index.js",
"repository": {
"type": "git",
"url": "https://github.com/codedread/bitjs"
}
}