{"_id":"wawoff2","_rev":"2864643","name":"wawoff2","description":"Convert TTF font to WOFF2","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"time":{"modified":"2022-09-14T03:07:19.000Z","created":"2018-02-15T15:12:52.671Z","2.0.1":"2022-01-19T16:24:01.500Z","2.0.0":"2021-04-04T16:58:11.502Z","1.0.2":"2018-03-22T08:29:28.938Z","1.0.1":"2018-02-24T20:25:30.404Z","1.0.0":"2018-02-15T15:12:52.671Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/fontello/wawoff2.git"},"versions":{"2.0.1":{"name":"wawoff2","version":"2.0.1","description":"Convert TTF font to WOFF2","keywords":["font","ttf","woff","woff2","convertor"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fontello/wawoff2.git"},"scripts":{"build":"docker build -t wawoff2_build ./src && docker run --rm -v $(pwd):/src/wawoff2 -u $(id -u):$(id -g) -it wawoff2_build make -C /src/wawoff2/src","test":"standardx -v . && mocha ./test"},"bin":{"woff2_compress.js":"bin/woff2_compress.js","woff2_decompress.js":"bin/woff2_decompress.js"},"dependencies":{"argparse":"^2.0.1"},"devDependencies":{"mocha":"^9.1.4","standardx":"^7.0.0"},"gitHead":"2ba75100c9ec6031a5a1d32ddd1120409aa68573","bugs":{"url":"https://github.com/fontello/wawoff2/issues"},"homepage":"https://github.com/fontello/wawoff2#readme","_id":"wawoff2@2.0.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"474d8ccae33da3863abad0ee64b70b6db51acac2","size":517646,"noattachment":false,"key":"/wawoff2/-/wawoff2-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wawoff2/download/wawoff2-2.0.1.tgz"},"_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"directories":{},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wawoff2_2.0.1_1642609441261_0.3183009560283194"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-19T16:25:16.126Z","publish_time":1642609441500,"_cnpm_publish_time":1642609441500},"2.0.0":{"name":"wawoff2","version":"2.0.0","description":"Convert TTF font to WOFF2","keywords":["font","ttf","woff","woff2","convertor"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fontello/wawoff2.git"},"scripts":{"build":"docker build -t wawoff2_build ./src && docker run --rm -v $(pwd):/src/wawoff2 -u $(id -u):$(id -g) -it wawoff2_build make -C /src/wawoff2/src","test":"standardx -v . && mocha ./test"},"bin":{"woff2_compress.js":"bin/woff2_compress.js","woff2_decompress.js":"bin/woff2_decompress.js"},"dependencies":{"argparse":"^2.0.1"},"devDependencies":{"mocha":"^8.3.2","standardx":"^7.0.0"},"gitHead":"c0ffbaad3081e6106394bd327c406865124c294c","bugs":{"url":"https://github.com/fontello/wawoff2/issues"},"homepage":"https://github.com/fontello/wawoff2#readme","_id":"wawoff2@2.0.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"df0ab96b0ef0539d7277292b9ad9884599c0e61f","size":525653,"noattachment":false,"key":"/wawoff2/-/wawoff2-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wawoff2/download/wawoff2-2.0.0.tgz"},"_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"directories":{},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wawoff2_2.0.0_1617555491310_0.8351502962649886"},"_hasShrinkwrap":false,"publish_time":1617555491502,"_cnpm_publish_time":1617555491502,"_cnpmcore_publish_time":"2021-12-16T20:04:22.751Z"},"1.0.2":{"name":"wawoff2","version":"1.0.2","description":"Convert TTF font to WOFF2","keywords":["font","ttf","woff","woff2","convertor"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fontello/wawoff2.git"},"scripts":{"test":"make test"},"bin":{"woff2_compress.js":"./bin/woff2_compress.js","woff2_decompress.js":"./bin/woff2_decompress.js"},"files":["compress.js","decompress.js","index.js","bin/","build/woff2"],"dependencies":{"argparse":"^1.0.6"},"devDependencies":{"eslint":"^4.17.0","mocha":"^5.0.0"},"gitHead":"cb5897749acd0336f65a6c3bffbee68be3d425c2","bugs":{"url":"https://github.com/fontello/wawoff2/issues"},"homepage":"https://github.com/fontello/wawoff2#readme","_id":"wawoff2@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"dist":{"shasum":"a8d467e46fafc55bf7542ee0b87867aa7a55d5d5","size":424037,"noattachment":false,"key":"/wawoff2/-/wawoff2-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/wawoff2/download/wawoff2-1.0.2.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wawoff2_1.0.2_1521707368800_0.1716577932965826"},"_hasShrinkwrap":false,"publish_time":1521707368938,"_cnpm_publish_time":1521707368938,"_cnpmcore_publish_time":"2021-12-16T20:04:23.530Z"},"1.0.1":{"name":"wawoff2","version":"1.0.1","description":"Convert TTF font to WOFF2","keywords":["font","ttf","woff","woff2","convertor"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fontello/wawoff2.git"},"scripts":{"test":"make test"},"bin":{"woff2_compress.js":"./bin/woff2_compress.js","woff2_decompress.js":"./bin/woff2_decompress.js"},"files":["compress.js","decompress.js","index.js","bin/","build/woff2"],"dependencies":{"argparse":"^1.0.6"},"devDependencies":{"eslint":"^4.17.0","mocha":"^5.0.0"},"gitHead":"70f0cfa2ca621e288657d662f2b7eda41cd6b1fe","bugs":{"url":"https://github.com/fontello/wawoff2/issues"},"homepage":"https://github.com/fontello/wawoff2#readme","_id":"wawoff2@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"dist":{"shasum":"c9f045a6fb16d94e82784d7d98f980309db15ff2","size":423936,"noattachment":false,"key":"/wawoff2/-/wawoff2-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wawoff2/download/wawoff2-1.0.1.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wawoff2_1.0.1_1519503930232_0.6279482581007638"},"_hasShrinkwrap":false,"publish_time":1519503930404,"_cnpm_publish_time":1519503930404,"_cnpmcore_publish_time":"2021-12-16T20:04:24.564Z"},"1.0.0":{"name":"wawoff2","version":"1.0.0","description":"Convert TTF font to WOFF2","keywords":["font","ttf","woff","woff2","convertor"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fontello/wawoff2.git"},"scripts":{"test":"make test"},"files":["compress.js","decompress.js","index.js","bin/","build/woff2"],"dependencies":{"argparse":"^1.0.6"},"devDependencies":{"eslint":"^4.17.0","mocha":"^5.0.0"},"gitHead":"ef568940acb62240ae2cc05b3adef4ccd9fa6744","bugs":{"url":"https://github.com/fontello/wawoff2/issues"},"homepage":"https://github.com/fontello/wawoff2#readme","_id":"wawoff2@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"dist":{"shasum":"38f2c504b91886756aed35f100f096a82da51abc","size":423845,"noattachment":false,"key":"/wawoff2/-/wawoff2-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wawoff2/download/wawoff2-1.0.0.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wawoff2_1.0.0_1518707571396_0.7520425145496312"},"_hasShrinkwrap":false,"publish_time":1518707572671,"_cnpm_publish_time":1518707572671,"_cnpmcore_publish_time":"2021-12-16T20:04:25.703Z"}},"readme":"woff2 for node.js (via WebAssembly)\n===================================\n\n[![CI](https://github.com/fontello/wawoff2/actions/workflows/ci.yml/badge.svg)](https://github.com/fontello/wawoff2/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/wawoff2.svg?style=flat)](https://www.npmjs.org/package/wawoff2)\n\nGoogle's [woff2](https://github.com/google/woff2) build for `node.js`, using\nWebAssembly. Why this is better than binary bindings:\n\n- works everywhere without rebuild\n\n\nInstall\n-------\n\n```sh\nnpm install wawoff2\n```\n\n\nUse Example\n-----------\n\n```js\nconst wawoff = require('wawoff2');\n\n// src - Buffer or Uint8Array\nwawoff.compress(src).then(out => {\n  // store result\n});\n```\n\nCommand-line Example\n--------------------\n\nTo compress a `.ttf` file into a `.woff2` file:\n\n```bash\nwoff2_compress.js [-h] [-v] infile [outfile]\n\nPositional arguments:\n  infile         Input .ttf file\n  outfile        Output .woff2 file (- for stdout)\n\nOptional arguments:\n  -h, --help     Show this help message and exit.\n  -v, --version  Show program's version number and exit.\n```\n\nAnd the opposite, to decompress a `.woff2` file into a `.ttf` one:\n\n```bash\nwoff2_decompress.js [-h] [-v] infile [outfile]\n\nPositional arguments:\n  infile         Input .woff2 file\n  outfile        Output .ttf file (- for stdout)\n\nOptional arguments:\n  -h, --help     Show this help message and exit.\n  -v, --version  Show program's version number and exit.\n```\n","_attachments":{},"homepage":"https://github.com/fontello/wawoff2#readme","bugs":{"url":"https://github.com/fontello/wawoff2/issues"},"license":"MIT"}