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

@a-2-c-2-anpm/aspernatur-beatae-magni

v1.0.0

Published

Simple utilities for modern [npm](https://www.npmjs.com/) packages.

Downloads

5

Maintainers

tranduc345zztranduc345zz

Keywords

channelES6waapidebugeventsnamesequalredux-toolkitUint8Arraytermfast-deep-clonees5getOwnPropertyDescriptorwatchFiletoArraywatchertypaniontaskhashsignalletflagspackagestddmkdirshookformsanitizetrimLeftes7entriesbusyasciibluebirdfinditeratorsigtermcomparecomputed-typesECMAScript 2022workspace:*full-widtharraybuffercall-boundoffsetkoreanes8bundlingmatchtapehttpchromeredactpushqsastreduxdateaccessorprotocol-buffersfast-deep-copytoStringTaglimitedHyBikeyelectronexpressionspringarraystreamslazystylesstringifybuffersnodenegativeregexpextendcss variablevalidationairbnbqueueMicrotaskshampicomatch6to5walkingloadingvalidatorfetchsiginturlinspectspinnerURLSearchParamsreact posetoolshasequalityguidpyyamlsyntaxbrowserlistes6reducecjkArrayexpressregular expressionsaccessibilityfile systemrm -frclassnamesnumbersharedWeakSetBigInt64Arrayes2015TypeBoxsymbolsconstlinewrapcache0fast-cloneRFC-6455less mixinsglobavaeslint-pluginanimationes2018oncegroupByuninstallclass-validatorassertpurerapidreact-hook-formdragsortedgraphqlcoremkdirpconsolecode pointsreducerframerobjfindLastassertsinternalECMAScript 2016getPrototypeOftypescriptArray.prototype.flatInt16ArrayerrorReflect.getPrototypeOfasyncprototypebootstrap lessloggerUint8ClampedArraycallbackcliwgetparserperformantinternal slotcontainsFloat32ArrayObject.getPrototypeOflogES5command-linetc39importjson-schema-validatorpathdescriptortoolkitstyleguidepnpm9isConcatSpreadablebyteLengthESnextflatinstallregexpackageutilsdescriptionMapgesturesmodulesauthenticationprogressiedebuggervariablesjsdomqueueconcatsyntaxerrorSetfunctionalreadableestreeescapefastbootstrap cssAsyncIteratorchaivalueefficientlengthtslibsortrandompluginintrinsicprettydataViewArray.prototype.findLastIndextypesiterationcolorsES2023mergeRxJSRegExp.prototype.flagsshellshimpasswordhooksCSSStyleDeclarationmodulereadobjectweaksetlibphonenumberwatchzoddeepcloneconnectstreams2io-tsformatenumerableES2016protobufdom-testing-libraryshebangbatchtrimStartdotenvchromiumauthreusepoint-freees-shim APIcolumnsargparsesanitizationparentsECMAScript 7stableprivatexssterminaldeletejson-schemaes-abstractincludesclonemakefastcopyObservablesmatchAllstdlibtestuuidcircularUint16ArraysymlinksCSSECMAScript 2017ArrayBufferrfc4122namefpcompile lessgdprslottypesafescheme-validationgetoptlinuxhelpersoutputenvironmentwritable$.extendeslintpluginreact-hooksvarcurriedinputpreserve-symlinksdefinePropertytrimEndquerystringnpmfseventsargvflatMapwordwraplanguagepackage.jsonawait__proto__dependenciesestestersettermiddlewareString.prototype.matchAllECMAScript 2015validstylingmomentspeedjwtpersistentcollectionmimetypesrecursivestylejson-schema-validationencryptionlesscssquoteIteratorxtermwatchingvestECMAScript 2019ECMAScript 2020configcreatefunctionArray.prototype.findLastFunction.prototype.namejavascriptqueryRxbcryptlastsetPrototypeOfcss lessimmutableclassessymlinktimeperformancecss nestingObject.assignkarmafastifythroatjscssSymboldiffObject.isES2017rateirqES_.extendtranspilernativeregular expressioncallboundclientdeterministicchinesegetterpipecensor.envreact animationbabelconcatMapreact-testing-libraryeventDispatcherWebSockethandlersiteratecall-bindObservablewalknegative zerotoobjectharmonyarraysstarterdataArray.prototype.flattena11yvisualduplexwhatwgtostringtag-0l10nmoveminimal256Symbol.toStringTagvalidatedeep-copyInt32ArraydeepES7Array.prototype.flatMaptapmkdirimmerprotospinnerszeroextensionstatelessless.jslistenerstsjsdiffsharedarraybufferawesomesaucehigher-orderenvfullArray.prototype.containsutil.inspectYAMLbabel-coreserializercore-jsES2018promisesbrowserargumentecmascriptbyteOffsetStreamsmixinsdomsetImmediatecollection.es6sometextfindLastIndexruntimestringifierdropclassnamewindowspromisebanneroptioncharacterReactiveExtensions3dsignalscolordayjses2016utilitiesparserequirefixed-widtheast-asian-widthgenericsdirectoryES2019lockfilewebObjectrequestemitlrureactcryptfind-uphttpsutilgroupflagwarningjoifolderstringeventEmitterES8typeerrorpackage managerStyleSheetutilityrgbRegExp#flagsisless compilerttyyamlstyled-componentsyuptypedarrayscompilerjsonschemamimemochasideflattenless cssjapaneseArray.prototype.filtersequenceratelimitconsumeES2015ES2020mobilepolyfillexit-codetacit[[Prototype]]testingforEachnopejasmineemojirobustpositivesameValueZeropostcss-pluginjsxajaxsearchECMAScript 2021removerm -rfboundposedependency managercryptoinferenceES2021structuredClonejsonpathfullwidthparentprefixpopmotionObject.definePropertyresolvePushcallfs

Readme

@a-2-c-2-anpm/aspernatur-beatae-magni

Simple utilities for modern npm packages.

npm install @a-2-c-2-anpm/aspernatur-beatae-magni -D

npm version

Basic usage

# Initialize a new package
pnpx @a-2-c-2-anpm/aspernatur-beatae-magni@latest init my-package

# In a Node.js package directory with `package.json` present

# Check the package
pkg-utils check

# Build the package
pkg-utils build

# Watch the package
pkg-utils watch

Run pkg-utils -h for more information on CLI usage.

Configuration

@a-2-c-2-anpm/aspernatur-beatae-magni reads most of its configuration from package.json. But sometimes you need more control. You may then add a configuration file named package.config.ts (or .js, .cjs, or .mjs).

// package.config.ts

import {defineConfig} from '@a-2-c-2-anpm/aspernatur-beatae-magni'

export default defineConfig({
  extract: {
    rules: {
      // do not require internal members to be prefixed with `_`
      'ae-internal-missing-underscore': 'off',
    },
  },

  // the path to the tsconfig file for distributed builds
  tsconfig: 'tsconfig.dist.json',
})

Options

bundles

  • Type: PkgBundle[]
  • Default: undefined

An array of entry points to bundle. This is useful if you want to bundle something that should not be exported by the package, e.g. CLI scripts or Node.js workers.

define

  • Type: Record<string, string | number | boolean | null | undefined>
  • Default: {}

An object defining globals within the package.

dist

  • Type: string
  • Default: './dist'

The path to the directory to which bundle and chunk files should be written.

exports

  • Type: PkgConfigProperty<PkgExports>
  • Default: the value of "exports" in package.json

Override or modify the value of the exports before it’s parsed internally.

extract

  • Type:
    {
      rules?: {
        'ae-forgotten-export'?: PkgRuleLevel
        'ae-incompatible-release-tags'?: PkgRuleLevel
        'ae-internal-missing-underscore'?: PkgRuleLevel
        'ae-missing-release-tag'?: PkgRuleLevel
      }
    }
  • Default: undefined

Configure the level of reporting of API Extractor (which is used to bundle the type definitions, as well as lint the TSDoc of the package).

external

  • Type: string[]
  • Default: []

Packages to exclude from bundles.

jsx

  • Type: 'transform' | 'preserve' | 'automatic'
  • Default: 'automatic'

Strategy for bundling JSX.

jsxFactory

  • Type: string
  • Default: 'createElement'

The name of the function that creates JSX elements.

jsxFragment

  • Type: string
  • Default: 'Fragment'

The name of JSX fragment elements.

jsxImportSource

  • Type: string
  • Default: 'react'

The name of the library from which to import JSX factory and fragment names.

legacyExports

  • Type: boolean
  • Default: false

Build package with support for legacy exports (writes root <export>.js files). Use this if you need to support older bundlers.

minify

  • Type: boolean
  • Default: false

Whether to minify the bundled JavaScript.

rollup.plugins

  • Type: PkgConfigProperty<RollupPlugin[]>
  • Default: []

Rollup plugins to load when bundling.

runtime

  • Type: '*' | 'browser' | 'node'
  • Default: '*'

Default runtime of package exports

sourcemap

  • Type: boolean
  • Default: true

Whether to include source map files.

src

  • Type: string
  • Default: './src'

The path to the directory in which source code is located.

tsconfig

  • Type: string
  • Default: 'tsconfig.json'

The path to the TypeScript configuration file.

License

MIT