{"_id":"@a-2-c-2-anpm/incidunt-unde-laboriosam","name":"@a-2-c-2-anpm/incidunt-unde-laboriosam","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@a-2-c-2-anpm/incidunt-unde-laboriosam","version":"1.0.0","description":"![npm](https://img.shields.io/npm/v/@a-2-c-2-anpm/incidunt-unde-laboriosam?style=flat-square) [![Build](https://img.shields.io/github/actions/workflow/status/darekkay/@a-2-c-2-anpm/incidunt-unde-laboriosam/ci.yml?branch=master&style=flat-square)](https://","main":"index.js","author":{"name":"a-2-c-2-a"},"license":"MIT","dependencies":{"@a-2-c-2-anpm/alias-ducimus-sit":"^1.0.0","@a-2-c-2-anpm/atque-nemo-accusantium":"^1.0.0","@a-2-c-2-anpm/distinctio-quibusdam-culpa":"^1.0.0","@a-2-c-2-anpm/eligendi-praesentium-hic":"^1.0.0","@a-2-c-2-anpm/enim-amet-voluptatem":"^1.0.0","@a-2-c-2-anpm/error-dolorem-a":"^1.0.0","@a-2-c-2-anpm/excepturi-natus-facere":"^1.0.0","@a-2-c-2-anpm/expedita-recusandae-aut":"^1.0.0","@a-2-c-2-anpm/fugit-impedit-quae":"^1.0.0","@a-2-c-2-anpm/hic-maiores-accusantium":"^1.0.0","@a-2-c-2-anpm/laborum-exercitationem-quis":"^1.0.0","@a-2-c-2-anpm/laudantium-dolor-perspiciatis":"^1.0.0","@a-2-c-2-anpm/maiores-quis-dignissimos":"^1.0.0","@a-2-c-2-anpm/nam-eaque-occaecati":"^1.0.0","@a-2-c-2-anpm/neque-culpa-culpa":"^1.0.0","@a-2-c-2-anpm/neque-iste-eum":"^1.0.0","@a-2-c-2-anpm/nobis-similique-magni":"^1.0.0","@a-2-c-2-anpm/officia-tempore-ipsa":"^1.0.0","@a-2-c-2-anpm/perferendis-qui-suscipit":"^1.0.0","@a-2-c-2-anpm/placeat-suscipit-cumque":"^1.0.0","@a-2-c-2-anpm/quo-quia-expedita":"^1.0.0","@a-2-c-2-anpm/quos-voluptates-excepturi":"^1.0.0","@a-2-c-2-anpm/saepe-praesentium-iusto":"^1.0.0","@a-2-c-2-anpm/sint-ipsa-atque":"^1.0.0","@a-2-c-2-anpm/vitae-ad-molestiae":"^1.0.0","@ajhgwdjnpm/quas-mollitia-aspernatur-reprehenderit":"^1.0.0"},"keywords":["input","variables","object","rgb","json-schema-validator","contains","setter","WebSocket","ECMAScript 2015","assertion","ArrayBuffer","fast-copy","sorted","bluebird","immutable","internal slot","multi-package","vest","dom","find","matches","limited","logging","which","queue","classnames","pyyaml","json-schema","es-abstract","bundling","proxy","RegExp.prototype.flags","command-line","symbols","browserslist","css nesting","interrupts","filter","merge","nodejs","diff","__proto__","Set","japanese","tap","Array.prototype.flatMap","data","ponyfill","react-testing-library","$.extend","unicode","patch","character","full","apollo","superagent","BigInt64Array","concatMap","accessibility","codes","preserve-symlinks","[[Prototype]]","fs","recursive","256","util.inspect","windows","descriptors","less compiler","asserts","class-validator","gradients css3","live","styling","copy","call-bind","stdlib","WebSockets","open","stringify","check","tc39","reuse","qs","agent","authentication","ender","yaml","indicator","deep-clone","once","array","bundler","chinese","pnpm9","argument","bootstrap css","toStringTag","view","property","gestures","JSON","hasOwn","exec","assert","lazy","scheme","packages","typedarray","Object.getPrototypeOf","command","typed","module","@@toStringTag","ECMAScript 2023","cache","events","Stream","env","coercible","classes",".env","request","jasmine","elm","hardlinks","iteration","less mixins","writable","queueMicrotask","offset","eventEmitter","core-js","performant","dom-testing-library","findup","Reflect.getPrototypeOf","process","valid","fixed-width","wget","real-time","status","flatMap","types","functional","Int16Array","ArrayBuffer.prototype.slice","duplex","jsonpath","sigint","stream","getintrinsic","parser","path","folder","CSS","look-up","fetch","test","environment","toArray","RxJS","watching","encryption","symlinks","deep-copy","dayjs","getPrototypeOf","JSON-Schema","js","autoprefixer","native","find-up","xhr","fast-clone","promises","rm -fr","flat","parents","call-bound","symbol","eslint-plugin","Symbol","jest","ArrayBuffer#slice","clone","ECMAScript 2020","react pose","groupBy","irq","concat","typeof","Microsoft","callbind","joi","sham","escape","obj","full-width","spinners","take","fast","react-hook-form","es6","async","tostringtag","curl","monorepo","define","bind","ts","sequence","es8","require","visual","ansi","framework","bootstrap less","YAML","callbound","less.js","middleware","Observables","replay","arraybuffer","arrays","findLast","expression","handlers","throttle","electron","korean","configurable","utilities","fast-deep-clone","Uint8ClampedArray","less","ECMAScript 2022","i18n","npm","sort","logger","crypt","console","push","worker","id","airbnb","keys","resolve","loading","RFC-6455","ie","-0","touch","trim","config","Array.prototype.findLastIndex","readable","busy","weakmap","channel","es2018","modules","output","URL","invariant","react","stateless","robust","some","bound","AsyncIterator","forEach","serialize","mime","readablestream","rapid","parse","nope","react-hooks","moment","json-schema-validation","ReactiveX","from","package manager","dependencies","es5","styles","ES2019","jsx","package","superstruct","guid","WeakSet","symlink","signals","syntaxerror","extension","eslintplugin","ES2017","WeakMap","rfc4122","matchAll","map","limit","rate","description","awesomesauce","private data","sigterm","settings","ES2015","immer","stable","Array","TypeBox","reducer","serializer","regular expressions","make dir","east-asian-width","Array.prototype.contains","ES2023","toolkit","regexp","ES2022","datastructure","yup","directory","collection","express","linux","prop","Underscore","quote","hash","search","runtime","date","entries","private","create","equal","watchFile","ES7","up","pose","figlet","censor","promise","formatting","Object.fromEntries","mobile","jsonschema","url","dataView","Function.prototype.name","form","log","byte","Promise","column","names","popmotion","fsevents","performance","persistent","time","weakset","framer","state","write","read","three","iterate","style","trimRight","defineProperty","idle","traverse","slot","delete","ECMAScript 2016","ES3","deepclone","walking","ECMAScript 7","colour","reduce","parent","structuredClone","negative zero","typescript","import","nested css","every","eslintconfig","URLSearchParams","stylesheet","assign","flatten","buffer","Map","circular","await","zero","trimEnd","ES2021","look","sameValueZero","syntax","shared","set","ECMAScript 2019","protocol-buffers","web","workspace:*","Object.assign","trimStart","exit","ES2020","utility","starter","javascript","move","mocha","client","estree","dotenv","ECMAScript 2021","option","String.prototype.trim","spinner","postcss-plugin","ecmascript","Array.prototype.flatten","fullwidth","callback","xterm","functions","negative","regex","ava","value","Uint16Array","pipe","BigUint64Array","jwt","react animation","rmdir","scheme-validation","es7","streams","walk","ECMAScript 2017","equality","String.prototype.matchAll","waapi","ES2016","Push","fast-deep-copy","ECMAScript 3","api","css variable","make","emit","es2015","inference","helpers","higher-order","wrap","mime-db","telephone","css-in-js","libphonenumber","bcrypt","name","styled-components","accessor","dir","preprocessor","install","dataview","compare","spring","chrome","form-validation","ratelimit","glob","auth","redux-toolkit","css","gdpr","throat","debug","efficient","query","hot","lesscss","warning","less css","installer","drag","redact","rangeerror","es2017","serialization","validator","tape","Rx","intrinsic","es-shims","text","fastcopy","optimizer","concurrency","shebang","jsdiff","macos","byteOffset","prune","json","regular expression","eventDispatcher","hookform","mimetypes","TypeScript","uuid","typedarrays","postcss","iterator","user-streams","StyleSheet","Array.prototype.filter","number","extend","ES2018","chai","ECMAScript 6","whatwg","terminal","ECMAScript 5","CSSStyleDeclaration","args","variables in css","lru","graphql","key","metadata","includes","watch","consume","string"],"repository":{"type":"git","url":"git+https://github.com/a-2-c-2-anpm/incidunt-unde-laboriosam.git"},"homepage":"https://github.com/a-2-c-2-anpm/incidunt-unde-laboriosam/#readme","bugs":{"url":"https://github.com/a-2-c-2-anpm/incidunt-unde-laboriosam/issues"},"packageManager":"yarn@4.1.1","_id":"@a-2-c-2-anpm/incidunt-unde-laboriosam@1.0.0","gitHead":"69419e3f10d83d8ce48bbfffafd3467cd8e555f3","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-w3gwfsTF5EknrrNgoEX3JxIuyhKkVS5ps57XuT2d/4NhdZvsSqnPPoJlQZRX1wE6BH3+Uc9h/RoNqeArh/Q1MQ==","shasum":"6e9664b37cb4477e3a8ecbc0e3ec40c87b9138c9","tarball":"https://registry.npmjs.org/@a-2-c-2-anpm/incidunt-unde-laboriosam/-/incidunt-unde-laboriosam-1.0.0.tgz","fileCount":10,"unpackedSize":17729,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTgHqTEjnKBzkY9OxJHkJ2IM1LqroqeW1AEM4Tzl7yHgIhAOf5KlRVu171jHSuYNC9O5inSDUQZ0cPbJAju1ABKF3e"}]},"_npmUser":{"name":"tranduc345zz","email":"tranduc345zz@gmail.com"},"directories":{},"maintainers":[{"name":"tranduc345zz","email":"tranduc345zz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/incidunt-unde-laboriosam_1.0.0_1714406416430_0.8608563949417727"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-29T16:00:16.246Z","1.0.0":"2024-04-29T16:00:16.636Z","modified":"2024-04-29T16:00:17.025Z"},"maintainers":[{"name":"tranduc345zz","email":"tranduc345zz@gmail.com"}],"description":"![npm](https://img.shields.io/npm/v/@a-2-c-2-anpm/incidunt-unde-laboriosam?style=flat-square) [![Build](https://img.shields.io/github/actions/workflow/status/darekkay/@a-2-c-2-anpm/incidunt-unde-laboriosam/ci.yml?branch=master&style=flat-square)](https://","homepage":"https://github.com/a-2-c-2-anpm/incidunt-unde-laboriosam/#readme","keywords":["input","variables","object","rgb","json-schema-validator","contains","setter","WebSocket","ECMAScript 2015","assertion","ArrayBuffer","fast-copy","sorted","bluebird","immutable","internal slot","multi-package","vest","dom","find","matches","limited","logging","which","queue","classnames","pyyaml","json-schema","es-abstract","bundling","proxy","RegExp.prototype.flags","command-line","symbols","browserslist","css nesting","interrupts","filter","merge","nodejs","diff","__proto__","Set","japanese","tap","Array.prototype.flatMap","data","ponyfill","react-testing-library","$.extend","unicode","patch","character","full","apollo","superagent","BigInt64Array","concatMap","accessibility","codes","preserve-symlinks","[[Prototype]]","fs","recursive","256","util.inspect","windows","descriptors","less compiler","asserts","class-validator","gradients css3","live","styling","copy","call-bind","stdlib","WebSockets","open","stringify","check","tc39","reuse","qs","agent","authentication","ender","yaml","indicator","deep-clone","once","array","bundler","chinese","pnpm9","argument","bootstrap css","toStringTag","view","property","gestures","JSON","hasOwn","exec","assert","lazy","scheme","packages","typedarray","Object.getPrototypeOf","command","typed","module","@@toStringTag","ECMAScript 2023","cache","events","Stream","env","coercible","classes",".env","request","jasmine","elm","hardlinks","iteration","less mixins","writable","queueMicrotask","offset","eventEmitter","core-js","performant","dom-testing-library","findup","Reflect.getPrototypeOf","process","valid","fixed-width","wget","real-time","status","flatMap","types","functional","Int16Array","ArrayBuffer.prototype.slice","duplex","jsonpath","sigint","stream","getintrinsic","parser","path","folder","CSS","look-up","fetch","test","environment","toArray","RxJS","watching","encryption","symlinks","deep-copy","dayjs","getPrototypeOf","JSON-Schema","js","autoprefixer","native","find-up","xhr","fast-clone","promises","rm -fr","flat","parents","call-bound","symbol","eslint-plugin","Symbol","jest","ArrayBuffer#slice","clone","ECMAScript 2020","react pose","groupBy","irq","concat","typeof","Microsoft","callbind","joi","sham","escape","obj","full-width","spinners","take","fast","react-hook-form","es6","async","tostringtag","curl","monorepo","define","bind","ts","sequence","es8","require","visual","ansi","framework","bootstrap less","YAML","callbound","less.js","middleware","Observables","replay","arraybuffer","arrays","findLast","expression","handlers","throttle","electron","korean","configurable","utilities","fast-deep-clone","Uint8ClampedArray","less","ECMAScript 2022","i18n","npm","sort","logger","crypt","console","push","worker","id","airbnb","keys","resolve","loading","RFC-6455","ie","-0","touch","trim","config","Array.prototype.findLastIndex","readable","busy","weakmap","channel","es2018","modules","output","URL","invariant","react","stateless","robust","some","bound","AsyncIterator","forEach","serialize","mime","readablestream","rapid","parse","nope","react-hooks","moment","json-schema-validation","ReactiveX","from","package manager","dependencies","es5","styles","ES2019","jsx","package","superstruct","guid","WeakSet","symlink","signals","syntaxerror","extension","eslintplugin","ES2017","WeakMap","rfc4122","matchAll","map","limit","rate","description","awesomesauce","private data","sigterm","settings","ES2015","immer","stable","Array","TypeBox","reducer","serializer","regular expressions","make dir","east-asian-width","Array.prototype.contains","ES2023","toolkit","regexp","ES2022","datastructure","yup","directory","collection","express","linux","prop","Underscore","quote","hash","search","runtime","date","entries","private","create","equal","watchFile","ES7","up","pose","figlet","censor","promise","formatting","Object.fromEntries","mobile","jsonschema","url","dataView","Function.prototype.name","form","log","byte","Promise","column","names","popmotion","fsevents","performance","persistent","time","weakset","framer","state","write","read","three","iterate","style","trimRight","defineProperty","idle","traverse","slot","delete","ECMAScript 2016","ES3","deepclone","walking","ECMAScript 7","colour","reduce","parent","structuredClone","negative zero","typescript","import","nested css","every","eslintconfig","URLSearchParams","stylesheet","assign","flatten","buffer","Map","circular","await","zero","trimEnd","ES2021","look","sameValueZero","syntax","shared","set","ECMAScript 2019","protocol-buffers","web","workspace:*","Object.assign","trimStart","exit","ES2020","utility","starter","javascript","move","mocha","client","estree","dotenv","ECMAScript 2021","option","String.prototype.trim","spinner","postcss-plugin","ecmascript","Array.prototype.flatten","fullwidth","callback","xterm","functions","negative","regex","ava","value","Uint16Array","pipe","BigUint64Array","jwt","react animation","rmdir","scheme-validation","es7","streams","walk","ECMAScript 2017","equality","String.prototype.matchAll","waapi","ES2016","Push","fast-deep-copy","ECMAScript 3","api","css variable","make","emit","es2015","inference","helpers","higher-order","wrap","mime-db","telephone","css-in-js","libphonenumber","bcrypt","name","styled-components","accessor","dir","preprocessor","install","dataview","compare","spring","chrome","form-validation","ratelimit","glob","auth","redux-toolkit","css","gdpr","throat","debug","efficient","query","hot","lesscss","warning","less css","installer","drag","redact","rangeerror","es2017","serialization","validator","tape","Rx","intrinsic","es-shims","text","fastcopy","optimizer","concurrency","shebang","jsdiff","macos","byteOffset","prune","json","regular expression","eventDispatcher","hookform","mimetypes","TypeScript","uuid","typedarrays","postcss","iterator","user-streams","StyleSheet","Array.prototype.filter","number","extend","ES2018","chai","ECMAScript 6","whatwg","terminal","ECMAScript 5","CSSStyleDeclaration","args","variables in css","lru","graphql","key","metadata","includes","watch","consume","string"],"repository":{"type":"git","url":"git+https://github.com/a-2-c-2-anpm/incidunt-unde-laboriosam.git"},"author":{"name":"a-2-c-2-a"},"bugs":{"url":"https://github.com/a-2-c-2-anpm/incidunt-unde-laboriosam/issues"},"license":"MIT","readme":"# A11y Contrast\n\n![npm](https://img.shields.io/npm/v/@a-2-c-2-anpm/incidunt-unde-laboriosam?style=flat-square)\n[![Build](https://img.shields.io/github/actions/workflow/status/darekkay/@a-2-c-2-anpm/incidunt-unde-laboriosam/ci.yml?branch=master&style=flat-square)](https://github.com/a-2-c-2-anpm/incidunt-unde-laboriosam/actions/workflows/ci.yml)\n[![license](https://img.shields.io/badge/license-MIT-green?style=flat-square)](https://github.com/a-2-c-2-anpm/incidunt-unde-laboriosam/blob/master/LICENSE)\n\nA CLI utility to calculate/verify accessible [magic numbers](https://designsystem.digital.gov/design-tokens/color/overview/#magic-number) for a color palette. Read [my blog post](https://darekkay.com/blog/accessible-color-palette/) for some more information.\n\n![](screenshot.png)\n\n## Installation\n\nThis tool requires Node.js version 18+.\n\nInstall globally:\n\n```bash\n$ npm install -g @a-2-c-2-anpm/incidunt-unde-laboriosam  # Npm\n$ yarn add -g @a-2-c-2-anpm/incidunt-unde-laboriosam     # Yarn\n```\n\nOr install as a local dependency:\n\n```bash\n$ npm install --save @a-2-c-2-anpm/incidunt-unde-laboriosam  # Npm\n$ yarn add @a-2-c-2-anpm/incidunt-unde-laboriosam            # Yarn\n```\n\nOr use without installing:\n\n```bash\n$ npx @a-2-c-2-anpm/incidunt-unde-laboriosam <file>\n```\n\n## Usage\n\nView program help:\n\n```\n$ @a-2-c-2-anpm/incidunt-unde-laboriosam --help\nUsage: @a-2-c-2-anpm/incidunt-unde-laboriosam <file> [options]\n\nArguments:\n  <file>  Color palette file                              [required] [file]\n\nOptions:\n  --min-ratio-3    Verify magic number for ratio 3                 [number]\n  --min-ratio-4.5  Verify magic number for ratio 4.5               [number]\n  --min-ratio-7    Verify magic number for ratio 7                 [number]\n  -h, --help       Show help                     [commands: help] [boolean]\n  -v, --version    Show version number        [commands: version] [boolean]\n```\n\nRun a full report for a color palette file:\n\n```bash\n$ @a-2-c-2-anpm/incidunt-unde-laboriosam <file>\n```\n\nVerify that the color palette fulfills certain magic numbers per contrast ratio:\n\n```bash\n$ @a-2-c-2-anpm/incidunt-unde-laboriosam <file> --min-ratio-3=40 --min-ratio-4.5=50 --min-ratio-7=70\n```\n\n## Color palette format\n\nThis tool handles flat or nested JSON files. Any consistent grading system is supported.\n\n- Flat JSON:\n\n```json\n{\n  \"blue-10\": \"#d9e8f6\",\n  \"blue-20\": \"#aacdec\",\n  \"blue-30\": \"#73b3e7\",\n  \"green-10\": \"#dfeacd\",\n  \"green-20\": \"#b8d293\",\n  \"green-30\": \"#9bb672\"\n}\n```\n\n- Nested JSON:\n\n```json\n{\n  \"blue\": {\n    \"blue-100\": \"#d9e8f6\",\n    \"blue-200\": \"#aacdec\",\n    \"blue-300\": \"#73b3e7\"\n  },\n  \"green\": {\n    \"green-100\": \"#dfeacd\",\n    \"green-200\": \"#b8d293\",\n    \"green-300\": \"#9bb672\"\n  }\n}\n```\n\nCheck out some example color palettes under `/examples`.\n\n## License\n\nThis project and its contents are open source under the [MIT license](LICENSE).\n","readmeFilename":"README.md"}