@btpns/httpserver v0.0.20
INSTALL
npm install @btpns/compression
add json variable => "gzipMinimalSize" (must be number) in bytes. This is minimal bytes that require to convert Content-Encoding to gzip
. Default: 1024 bytes.
PUBLISH STEP
--build ts to js
--add & commit (don't forget to up the version)
--add tags
--push
--npm publish --access=public (cause private is not free)
NOTE
--package.json = "bundledDependencies" => all "dependencies" must be include then 'npm pack'.
for more info: http://npm.github.io/using-pkgs-docs/package-json/types/bundleddependencies.html
--publish npm:
---https://codeburst.io/how-to-create-and-publish-your-first-node-js-module-444e7585b738
---https://hackernoon.com/how-to-publish-your-package-on-npm-7fc1f5aae600
---https://codeburst.io/https-chidume-nnamdi-com-npm-module-in-typescript-12b3b22f0724
5 years ago