GitShow/sindresorhus/maxmin
sindresorhus

maxmin

Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)

by sindresorhus
Star on GitHubForknpm

JavaScript

58 stars13 forks5 contributorsQuiet · 2y agoSince 2014v4.1.0MIT

Meet the team

See all 5 on GitHub →
sindresorhus
sindresorhus30 contributions
philippsimon
philippsimon1 contribution
Richienb
Richienb1 contribution
ntwb
ntwb1 contribution
TomerAberbach
TomerAberbach1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
TomerAberbach
feat: add typesMergedPR
TomerAberbach · 2y ago
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y ago
parmarmitesh
Error: Block-scoped variables in strict mode are not supported until Node.js 4.0.0 and Unexpected var, use let or const instead. ClosedIssue

I am using npm version:- 6.14.5 and node version:- 12.16.1 Following are steps to build and test the maxmin package: git clone https://github.com/sindresorhus/maxmin.git cd maxmin npm install npm test After performing npm test, I am getting following error, so can you help me please in this or suggest me steps if I missing something : maxmin@2.1.0 test /maxmin xo && ava test.js:5:1 ✖ 5:1 Block-scoped variables in strict mode are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax ✖ 6:1 Block-scoped variables in strict mode are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax ✖ 8:17 Arrow functions are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax ✖ 13:17 Arrow functions are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax ✖ 14:31 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins ✖ 14:49 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins ✖ 15:31 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins ✖ 15:49 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins ✖ 18:18 Arrow functions are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax index.js:2:1 ✖ 2:1 Unexpected var, use let or const instead. no-var ✖ 3:1 Unexpected var, use let or const instead. no-var ✖ 4:1 Unexpected var, use let or const instead. no-var ✖ 5:1 Unexpected var, use let or const instead. no-var ✖ 6:1 Unexpected var, use let or const instead. no-var ✖ 13:2 Unexpected var, use let or const instead. no-var ✖ 13:6 The variable ret should be named returnValue. A more descriptive name will do too. unicorn/prevent-abbreviations 16 errors npm ERR! Test failed. See above for more details.

parmarmitesh · 6y ago
Structured data for AI agents

Repository: sindresorhus/maxmin. Description: Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip) Stars: 58, Forks: 13. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v4.1.0 (2y ago). Open PRs: 0, open issues: 0. Last activity: 2y ago. Community health: 85%. Top contributors: sindresorhus, philippsimon, Richienb, ntwb, TomerAberbach.

·@ofershap

Replace github.com with gitshow.dev