npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@teamteanpm2024/architecto-alias-quod

v1.1.5

Published

![npm](https://img.shields.io/npm/v/@teamteanpm2024/architecto-alias-quod?style=flat-square) [![Build](https://img.shields.io/github/actions/workflow/status/darekkay/@teamteanpm2024/architecto-alias-quod/ci.yml?branch=master&style=flat-square)](https://gi

Downloads

24

Maintainers

shivamkalsi2024shivamkalsi2024

Keywords

fast-deep-copyreact-hooksa11yes2015WeakSetstatustaskBigUint64Arraygroupjsonpathlastesequalityspinnersjsdiffhooksstyled-componentsextrapatchnegative zerocolorsnumberdescriptionjsonschemacloudsearchutilsidereadableassertsECMAScript 2018-0boundcommand-lineregulardeepcopyless mixinsjoiECMAScript 2015prefixsymlinkiteratezodECMAScript 2016mochaargumenttaptslibObject.entrieschineseeveryES3lrutoolkitECMAScript 2021babelfunctionalprotocol-buffers0tacitfunctionrequesteslintconfigcensorstructuredCloneformaturlreact animationgesturesbrowseridlescheme-validationautoprefixerURLutilityshrinkwrapincludesslicetypesreact posesanitizeschemaES8widthpnpm9[[Prototype]]WeakMaptapecharacterinvariantfullwidthmatchesjsxfseventsmacossigtermconcatMapissafeunicodebindString.prototype.matchAllhandlersbyteLengthstringifypromisestranspilenested cssfullacornbeanstalkencryptionmkdirenumerableparseObject.getPrototypeOfcolumnrequireauthenticationECMAScript 5definePropertystringifiermimeES2018charactersformattingArray.prototype.findLastIndexconnectminimalObject.fromEntriesArrayBuffer.prototype.sliceInt32Arrayworkspace:*httpcss nestingdirfast-cloneglacierMicrosoftstringObject.definePropertyserializationeventEmitterhasOwnstablereusemergewatchingnpmsqsstylingflatfind-upwebString.prototype.trimcommanderbluebirdES7fast-deep-clonejasminebrowserslistqueueMicrotaskvalidatorES2022regular expressionrfc4122diffsyntaxcurriedelectronzeroprotoES2023preprocessorredactoptimistreadablestreamnopeinstallerviewawaitshamdeep-clonecollection.es6workerextendURLSearchParamsfindtoArraydeletedateasciiRxJSpipereducerfastpromiseconcatfpstestcontainsxsswrapmobilereal-timeprivate dataobjdependenciesgetOwnPropertyDescriptorvpcendersymbolsrm -frutilsObjectwritees2016elbinterruptses5wordwrapspinnerintrinsicbuffersIteratormime-dbmapreduceconsoleguidtranspilershebangPushgetintrinsicxtermawstrimRightFloat64ArraywgetObservableframeworkbootstrap lesscryptogetoptArray.prototype.flatMapSymbolautoscalingdescriptormovethroattakequoteruntimeinstallparseres7callbackpropertiesparsingremoveoffsetbalancedastfastcloneutil.inspectfull-widthwindowseventsrapidtoStringTaglimitlookperformantES2020Object.keyschromebreakavaagentTypeScriptbundlersortedtoobjectfolderwatchparentsassignirqeast-asian-widthpolyfillrm -rfpostcss-plugines6snssymlinkscall-bindestreejavascriptmixinsroute53lazycallbinddeep-copysearchpasswordjsdomstylesheetflagextensiontestinggetjwtESopenkeysrgbfrompicomatchauthschemeregexpclassnamereduceairbnbcheckmimetypestrimLeftvariablesjQuerypyyamlcliamazonaccessibilityiteratorec2.envkoreanmiddlewareES2015xhrrmdirregular expressionsStreamhelpersECMAScript 2022HyBianimationhardlinksObject.assigncompilerlibphonenumberfindupclassnamestoSortedprototypesetImmediatenativedomcreategradients cssinspectRegExp#flagsposeomit_.extendArray.prototype.includespersistentES2016json-schema-validationchromiumArray.prototype.filterspeedSettypeofiecollectionebsInt16Arraytrimproxybootstrap cssdirectoryflattenregexspecJSONsuperagentarraystostringtagimportexportvestnegativeexpresschannelnodedayjscomputed-typesforEachtoolssigint256assertionconsumettyes2018configcss-in-jstypedarrayspackage managerwhatwgfilterreduxprogresslanguagenamefixed-widthbrowserlistES2021ESnextpreserve-symlinks3drangeerrorprettyescapesignallistenerspopmotionUnderscorejestrateartbytewritableasynccode pointsoptioncommandweaksetsortargparsejson-schemapropertystreamstyleguidearraybufferfetchCSShttpslinewrapArray.prototype.flattenBigInt64ArrayshimchaiECMAScript 6colorstreams2protobufprivateperformancetypedarrayvalidationlesscssstarterTypedArrayweakmapeslintplugineslint-pluginES6StyleSheettypeerrorless.jsreacteventDispatcheres8definefastifyargstouchthreecorslinkECMAScript 3sesratelimitpathdebuggerReactiveExtensionsoperating-system__proto__ECMAScript 2019package.jsonlogpoint-freepurematchpackageefficientexitcurldeepfastcopyreact-testing-libraryterminalutilitiesmappostcssexit-codeTypeBoxYAMLECMAScript 2023cjkgradients css3stylessimpledbcall-boundassertinferenceenvironmentless compilervaluewhichReflect.getPrototypeOfJSON-SchemaharmonyWebSocketsbundlingdependency managerswfWebSockettseslintmkdirpjson-schema-validatorsetPrototypeOfframeruninstallio-tsvaluesrmawesomesaucemodulewordbreakCSSStyleDeclarationajvfigletgdprbufferramdal10nhasqueueFunction.prototype.nameemitiamObservablesdropvalidatekarmaentriesArrayBuffer#sliceconfigurableinputdeterministicES2017byteOffsetmonorepospringinternallimitedflatMapcacheoptimizermkdirsgettertypanionpushgetPrototypeOftrimStartcloudfrontdebugReactiveXbcryptphoneInt8ArrayfindLastsharedarraybufferfstelephonehashform-validationrobuststoragegatewayObject.valuessignalsapitypestyleSymbol.toStringTagcryptUint16Arrayarray6to5cloudformationes-shimstermstatelessquerybusymulti-packagepluginsuperstructcodesArrayloadingtypescriptelasticacheyamlmatchAllisConcatSpreadableUint8Arraysharednodejscss lessbannerjapaneseredux-toolkitpositiveoncecompile lessvariterationhigher-orderformsworkflowtesteres2017coredescriptorstrimEndmruwaapiyupexpressioncircularclonefile systemvariables in cssES5rdscallboundmetadataenvmakewarningclassesECMAScript 7Mapjsonindicatorponyfillsymbolcoerciblethrottlefast-copylockfileconstmake dirimmerObject.isobjectsetterconcurrencymomenttyped arraycloudtrailcolumnslinuxerrorArray.prototype.flatbatchinternal slotserializenameslessstreamsES2019shellkinesistextcomparegenericss3bddprocesserror-handlingtddexeccsswalkingwafvisualresolveArray.prototype.findLastdragPromisewatchFileless cssglobdynamodbsequencepruneajaxfantasy-landslotupsettingsendpointRFC-6455class-validatordataemojireact-hook-formAsyncIteratorwatchertypesafetypedRegExp.prototype.flagstc39Uint8ClampedArrayproptraversecss variablees-abstractecmascriptloggerparenti18nloadbalancingArray.prototype.containssameValueZerocopyqsRxsyntaxerrorlet

Readme

A11y Contrast

npm Build license

A CLI utility to calculate/verify accessible magic numbers for a color palette. Read my blog post for some more information.

Installation

This tool requires Node.js version 18+.

Install globally:

$ npm install -g @teamteanpm2024/architecto-alias-quod  # Npm
$ yarn add -g @teamteanpm2024/architecto-alias-quod     # Yarn

Or install as a local dependency:

$ npm install --save @teamteanpm2024/architecto-alias-quod  # Npm
$ yarn add @teamteanpm2024/architecto-alias-quod            # Yarn

Or use without installing:

$ npx @teamteanpm2024/architecto-alias-quod <file>

Usage

View program help:

$ @teamteanpm2024/architecto-alias-quod --help
Usage: @teamteanpm2024/architecto-alias-quod <file> [options]

Arguments:
  <file>  Color palette file                              [required] [file]

Options:
  --min-ratio-3    Verify magic number for ratio 3                 [number]
  --min-ratio-4.5  Verify magic number for ratio 4.5               [number]
  --min-ratio-7    Verify magic number for ratio 7                 [number]
  -h, --help       Show help                     [commands: help] [boolean]
  -v, --version    Show version number        [commands: version] [boolean]

Run a full report for a color palette file:

$ @teamteanpm2024/architecto-alias-quod <file>

Verify that the color palette fulfills certain magic numbers per contrast ratio:

$ @teamteanpm2024/architecto-alias-quod <file> --min-ratio-3=40 --min-ratio-4.5=50 --min-ratio-7=70

Color palette format

This tool handles flat or nested JSON files. Any consistent grading system is supported.

  • Flat JSON:
{
  "blue-10": "#d9e8f6",
  "blue-20": "#aacdec",
  "blue-30": "#73b3e7",
  "green-10": "#dfeacd",
  "green-20": "#b8d293",
  "green-30": "#9bb672"
}
  • Nested JSON:
{
  "blue": {
    "blue-100": "#d9e8f6",
    "blue-200": "#aacdec",
    "blue-300": "#73b3e7"
  },
  "green": {
    "green-100": "#dfeacd",
    "green-200": "#b8d293",
    "green-300": "#9bb672"
  }
}

Check out some example color palettes under /examples.

License

This project and its contents are open source under the MIT license.