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

@f1stnpm2/sunt-quidem-non

v1.0.0

Published

[![npm version](https://img.shields.io/npm/v/@f1stnpm2/sunt-quidem-non.svg)](https://www.npmjs.com/package/@f1stnpm2/sunt-quidem-non) [![Downloads/month](https://img.shields.io/npm/dm/@f1stnpm2/sunt-quidem-non.svg)](http://www.npmtrends.com/@f1stnpm2/sunt

Downloads

13

Maintainers

sinhatminh11sinhatminh11

Keywords

dependenciespipejsxtoobjectpolyfillkeyspinnerisConcatSpreadablepopmotionform__proto__asciiReactiveExtensionsi18nfullopenmimeRFC-6455logpyyamltypeofArrayBuffer#slicepostcss-pluginbrowserlistPushjapanesepasswordweaksetreal-timescheme-validationexitcoerciblesortUint16ArrayredactmodulebundlingmkdirsfromCSSStyleDeclarationfastifyfastclonelookruntimeCSSObject.fromEntriesindicatormacosfunctioncall-bindAsyncIteratorfetchpackage.jsonspecrobustnamessameValueZeroTypeBoxclientPromiseSetcurriednopearraybufferglobfpES2015call-boundinternal slottc39serializechannelstatelessimportbuffersetImmediateextensionconnectenumerableexeES2017setterprivate datacorsObject.assignObservablesstyleinstallerdescriptionwordbreak0cssstableFunction.prototype.namereusefind-upextendtouchecmascriptpersistentdotenvgetoptspeeduuidUint8ClampedArraytoSortedchromiumworkerarktypevariables in cssdirbrowserECMAScript 7graphqlwaitArray.prototype.flattenxdg-opentrimEndkoreanserializerECMAScript 2015arrayES5jsonschemajasmineajvjsdifftypeerrormergees2018mapposelruprettyECMAScript 2023iterationdiffwatchFilehookformslicexdgappshebangsanitizeObject.valueslimitextrasyntaxcurldateES2023joieslintES2016errorsuperagentdataviewpatchsuperstructdayjsapidefaultinstallgroupBybyteOffsetphoneequalitytoolswatchfast-deep-clonecss-in-jsdataenvtesterargsperformancewebsitequotesymlinksshelltraverseyupmochaconsolebindcrypthigher-orderproprapidtoArrayfunctionscomputed-typesbyteLengthfantasy-landgenericsreadablestreamsanitizationinputtypesafetypanioncode pointscolumnfile systemjQueryECMAScript 3throttlermECMAScript 2022l10nlastdomflatMapfindupmrubyteclonewhichiteratorstylingArray.prototype.includesformsbundlerxhrMicrosoftreduceidrfc4122assignponyfillefficientprogressIteratorHyBieslint-pluginprivatepicomatchsettingscolourstyled-componentspackageserror-handlingharmonywrapString.prototype.trimvarcensorworkspace:*metadataregular expressiones8widthreduxartimmerless mixinsreact-hook-formvaluesloggeroperating-systempromisenodelinuxletpostcssoptimizerduplexwritedescriptorses-shim APIArray.prototype.flatMapiteratecontainspreserve-symlinkscallbackObservablestreamsObject.keysintrinsicES2021es7stylesheetcryptotoStringTagfsRegExp.prototype.flagskeysnativeObject.isvestcss variablehas.enva11ybabelObject.entriesECMAScript 2018fullwidthflagstructuredClonetrimgetPrototypeOf6to5ES3takesignalsautoprefixerfiledataViewhasOwnTypedArrayArray.prototype.findLastIndexmulti-packagetranspileESlazycallbindbluebirdlistenerscompile lesseventEmitterredux-toolkitutil.inspectnamesetPrototypeOfiewgetcmdgesturespropertysetprotobusytstostringtagUint8Arrayes2016walkingshamutilsoptimistFloat64Arraywatchingvalidationgetsomemkdirviewclassesstringifybrowserslistlook-upyamltimedom-testing-libraryparsercharactersexit-codeclass-validatorasyncWeakSetregexpjestECMAScript 2020babel-coreratelimitFloat32ArraysearchhttpstslibflattenratebuffersconfigES6launchassertESnextspringastdeletecolorstarterfast-deep-copyprocessES8fast-copydefinePropertymixinstelephoneECMAScript 5cachepoint-freereadableform-validationtextjson-schema-validationes5TypeScriptexpressionInt32ArrayStreamscharacterArray.prototype.filterpreprocessor@@toStringTagfull-widthtypedarrayconfigurableReflect.getPrototypeOfguidframeworkutilperformantframerhandlerstestingpositiveaccessorstringifiergradients css3ES2019queryrecursivepackagefolderfast-cloneresolveisstatusfunctionalECMAScript 2017nested cssfindLastIndexcodesirqmatchAllconsumeqsstreams2assertscommand-linevalidcjkwaapiesregular expressionsenderenvironmentupserializationidleestreeescapeless.jsargumentRxless compilerzeroArray.prototype.containsschemedrag

Readme

@f1stnpm2/sunt-quidem-non

npm version Downloads/month Build Status

Constants and utilities about visitor keys to traverse AST.

💿 Installation

Use npm to install.

$ npm install @f1stnpm2/sunt-quidem-non

Requirements

  • Node.js ^18.18.0, ^20.9.0, or >=21.1.0

📖 Usage

To use in an ESM file:

import * as evk from "@f1stnpm2/sunt-quidem-non"

To use in a CommonJS file:

const evk = require("@f1stnpm2/sunt-quidem-non")

evk.KEYS

type: { [type: string]: string[] | undefined }

Visitor keys. This keys are frozen.

This is an object. Keys are the type of ESTree nodes. Their values are an array of property names which have child nodes.

For example:

console.log(evk.KEYS.AssignmentExpression) // → ["left", "right"]

evk.getKeys(node)

type: (node: object) => string[]

Get the visitor keys of a given AST node.

This is similar to Object.keys(node) of ES Standard, but some keys are excluded: parent, leadingComments, trailingComments, and names which start with _.

This will be used to traverse unknown nodes.

For example:

const node = {
    type: "AssignmentExpression",
    left: { type: "Identifier", name: "foo" },
    right: { type: "Literal", value: 0 }
}
console.log(evk.getKeys(node)) // → ["type", "left", "right"]

evk.unionWith(additionalKeys)

type: (additionalKeys: object) => { [type: string]: string[] | undefined }

Make the union set with evk.KEYS and the given keys.

  • The order of keys is, additionalKeys is at first, then evk.KEYS is concatenated after that.
  • It removes duplicated keys as keeping the first one.

For example:

console.log(evk.unionWith({
    MethodDefinition: ["decorators"]
})) // → { ..., MethodDefinition: ["decorators", "key", "value"], ... }

📰 Change log

See GitHub releases.

🍻 Contributing

Welcome. See ESLint contribution guidelines.

Development commands

  • npm test runs tests and measures code coverage.
  • npm run lint checks source codes with ESLint.
  • npm run test:open-coverage opens the code coverage report of the previous test with your default browser.