Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

brotli-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brotli-cli - npm Package Compare versions

Comparing version 0.0.1 to 1.0.0

CHANGELOG.md

57

package.json
{
"name": "brotli-cli",
"version": "0.0.1",
"main": "index.js",
"repository": "https://github.com/dzek69/brotli-cli.git",
"author": "Jacek Nowacki <git-public@dzek.eu>",
"version": "1.0.0",
"repository": "git@github.com:dzek69/brotli-cli.git",
"author": "Jacek Nowacki",
"license": "MIT",
"bin": "index.js",
"scripts": {
"test": "NODE_ENV=test jest",
"docs": "typedoc src/index.ts --out docs --listInvalidSymbolLinks --includes tutorials",
"compile": "yarn compile:cjs",
"compile:cjs": "rm -rf dist && tsc --project tsconfig.cjs.json && node ./build-scripts/compile.cjs.after.mjs",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx,.js,.jsx,.mjs",
"lint:fix": "yarn lint --fix",
"prepack": "yarn compile",
"prepublishOnly": "yarn lint && yarn test && yarn docs",
"start:dev": "nodemon",
"start:dev:compatibility": "TS_NODE_FILES=true yarn start:dev"
},
"bin": "./dist/index.js",
"type": "module",
"dependencies": {
"better-custom-error": "^4.0.1",
"brotli": "^1.3.2",
"fs-extra": "^5.0.0"
"fast-glob": "^3.2.5",
"yargs": "^16.2.0"
},
"engines": {
"node": ">=6.4.0"
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@dzek69/eslint-config-base": "^2.0.0",
"@dzek69/eslint-config-typescript": "^0.2.4",
"@types/brotli": "^1.3.0",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"eslint": "^7.14.0",
"fs-extra": "^9.0.1",
"husky": "^4.3.0",
"jest": "^26.6.3",
"must": "^0.13.4",
"nodemon": "^2.0.6",
"ts-node": "^9.0.0",
"typedoc": "^0.20.35",
"typescript": "^4.2.4"
},
"husky": {
"hooks": {
"pre-push": "yarn prepublishOnly && yarn compile"
}
},
"libraryTemplate": {
"version": "3.0.2",
"language": "typescript",
"fixDefaultForCommonJS": true
}
}
# brotli-cli
A basic Brotli CLI files compressor. W.I.P. CLI api will change.
Brotli files compressor.
Decompression feature will come.

@@ -12,6 +13,9 @@ Based on `brotli` npm module.

1. `npm i -g brotli-cli`
1. `brotli-cli file1.txt file2.svg file3.js`
1. `brotli-cli compress file1.txt file2.svg file3.js`
Files will be created in the same directory, but with `.br` extension appended. Overwriting will occur without asking.
Run
1. `brotli-cli help` for help and more examples.
### Local install

@@ -24,4 +28,10 @@

### Run without installing
You need npm 5.2+ for this:
1. `npx brotli-cli file1.txt file2.svg file3.js`
## License
MIT
MIT
index.js

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc