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

@devtea2025/nam-consectetur-ipsa-facilis

v1.0.0

Published

Downloads

6

Maintainers

tranvuchinh5538tranvuchinh5538

Keywords

arraycss-in-jsl10nflatMap0rdsSymbolnamees8east-asian-widthtyped arraytostringtagObject.assignenumerablenpmoptimizeroptioncss variablesymlinkselbInt8Arraydeep-clonecommand-lineprivateUint16ArraydefinePropertyStreamslauncheslintglobalssharedarraybufferObject.definePropertyObservablesredactObject.getPrototypeOfstylingi18ncryptocall-bindmatchAllvalidpasswordECMAScript 7sigintECMAScript 2023codeseventDispatcherURLargparsefastcopysymbolsutilitycomputed-typesinstallerES5less mixins@@toStringTagpolyfilllazydateagentfast-deep-clonebeanstalkimmerpromisestreamsclassnameglobalcoercibleperformantentriesbootstrap lessObject.keysloggertrimEndhashRegExp#flagsconnectclonestoragegatewayES2020getyamls3breakappidestreeStyleSheetfiltersetPrototypeOfsinatraexecstringifyless cssrmdirdayjstypeofunicodeansiECMAScript 5stdlibreact-hooks$.extendlessESRFC-6455Uint8ArraydiffdeepcloneiteratenodejsmetadataReactiveExtensionspicomatchemitenvironmentargvFunction.prototype.nameprivate datadataomitamazonwafdataViewstructuredClonelimitinputWebSocketsshimsetterTypeBoxshelltypescriptstyled-componentslinewraprouterproxystatefast-deep-copyviewpostcssshrinkwrapstyleguidetddexpressreact-hook-formArrayBuffer.prototype.sliceexpressionES8watchingwarningsafeauthfetchbufferbcryptdatastructuremodulerestnodetapweakmapassignjestmochacss nestingcallescaperfc4122errorrateoffsetBigUint64ArrayfshotwordbreakECMAScript 2017serializersameValueZeropromisesECMAScript 6es-shimsESnextimportexportredux-toolkitlinuxenvironmentssignalsreuseasciiarraysfindupoptimistlintreducertraversehasOwnPropertyutilrmlook-upasttrimLeftdescriptorsuperstructgetterassertwordwrapdeterministicArray.prototype.flatMapArray.prototype.flatwritableinterruptsutilitiesjsdomparentextensionupconsolenativesyntaxsimpledbregexeventsECMAScript 2019loadbalancingsqscolumnsdefineloggingurlmakereal-timeflattenreduxstarterassertswhatwgrm -fridentifierspropbyteOffsetqueuepyyamlfseventsfile systemfpsencryptionhas-ownECMAScript 2022globnested cssframeworkimportrobustcorelockfileexitjsdiffdependenciescollectiontaskstatelesspluginjapaneseString.prototype.trimcloudwatchES2018formatSymbol.toStringTagcolorslanguagecallbindURLSearchParamslesscssfullwidthsespreserve-symlinksuninstallmruieio-tslibphonenumberPushisPromiseavaincludeseditormovecontainsvalidationvariables in cssECMAScript 2020httpsfind-upflagsrangeerrorquoteformsyntaxerrorterminalcopytermttyhookformshebang_.extendmacoscss lessaccessorcolorjsxfastclonejsonMicrosoftutil.inspectObjecteslintplugintesterdeep-copyimmutableinspectjsonpathzeroInt16ArraysetBigInt64Arrayautoscalingarktypecreategetintrinsichandlersdeepfast-copyes7ES6prunetrimsetImmediateperformancebindmimecircularrgbtakebannerArrayauthenticationpackage.jsonesecmascriptschemegradients css3protobufRxJStouchwalknamescall-boundbootstrap csstypesbyteLengthgenericsgdprcallboundirqduplexconfigRegExp.prototype.flagsvarsreact-testing-librarysnsfromtoSortedparsingTypedArraykoreanECMAScript 2018ownspinnerspackagerequeststringES2017spawnnegativeargumentsiterationtypedhttptypeerrortapeInt32Arrayfastinvariantawesomesaucetestingbusybytedom-testing-librarytestvisualqueryonceopenpostcss-pluginparsesuperagentinternalprocessmkdircorsslicephoneReflect.getPrototypeOftoArraykeystypequeueMicrotaskIteratorconcurrencyweaksetbrowserlistajvArray.prototype.includesdebuggertrimRightendpointartvariablespredictablerequirebrowserfileyupES3buffersexecutablecryptajaxECMAScript 2016settingsjasminereadablestreamspeedchecksignalcommandchildhooksswfcloudfrontoutputArray.prototype.filterclassnameslastpatchmatchslotcloudformationtelephoneinparentswaitnegative zeroemojihardlinkschinesetypedarraymulti-packagewrapsymlinkerror-handlingwhichReactiveXloadingcharactersES2021serializeargsStreamextrabluebirdprefixmiddlewareiames6compilerawsnopemomentforEachtoobjectwebdomxdghasOwnjavascriptchaiES2016searchprotoes5regular expressionreplayec2YAMLcacheisConcatSpreadableflagexit-codematchesdiroperating-systemprotocol-buffersgetPrototypeOfless.jsAsyncIteratorArray.prototype.findLastIndexArray.prototype.flattenopensObject.fromEntriesworkflowintrinsicjQueryexeconsumemimetypeslengthaccessibilityidlemkdirsstartdirectoryspecJSON-SchemaenderequalitycliquerystringlimitedHyBiformattinggradients csscallbackbatchUnderscorecssfindassertionFloat32Arrayless compilerfullthrottleES2023mobilepushECMAScript 2021extendchromiumstreamcode pointsregular expressionsbundlingcompile lessscheme-validationMapobjectkeysymbolthroatliveprototypedeepcopyfastifytypedarraystslibkinesis256curlcmdasyncchannelrapidwatchersharedArrayBuffer#sliceelmECMAScript 3Rxfixed-widthglaciercharacterWeakMapes2016form-validationurlsshamgetoptSetworkerelectrones-shim APImapArray.prototype.findLasttrimStartmergeinternal slotwritetypanionObject.isfast-cloneconfigurableautoprefixerschemaminimalopenerruntimejsmoduleschromecjkiteratorhassortedxdg-openArray.prototype.containsArrayBufferpropertypreprocessormake dirobjpackage managerbdddescriptorselasticacheenvJSONFloat64Arrayfull-widthwebsitecommanderclassesmkdirpjshintebsparserpersistentvestES2019String.prototype.matchAllindicatorhelpers__proto__dataviewcolourserializationfunctionses2017core-jsconcatMaplrurm -rfmonorepovaluesWeakSetreactObject.valueswindowslistenersprogresseventEmitterponyfillUint32ArraydropzodbrowserslistjoiqsinstallES2015eslint-plugines2015prettystyleswgetremovedebugxtermreadabledynamodbpropertiesdeletetoolkittoolsgroupByemrsidedependency managercloudtrailES7ES2022functionsomereducetoStringTagfigletequalsequenceairbnbresolvelinkCSSguidefficientpipewalkingtextfluxmixinswatchregexplookargument-0findLastIndexcloudsearchtsxhrjwtarraybuffersortstreams2higher-ordernumberstablerestfulstylesheetspinnergetOwnPropertyDescriptorfindLastdotenv

Readme

@devtea2025/nam-consectetur-ipsa-facilis Version Badge

github actions coverage License Downloads

npm badge

Define a data property on an object. Will fall back to assignment in an engine without descriptors.

The three non* argument can also be passed null, which will use the existing state if available.

The loose argument will mean that if you attempt to set a non-normal data property, in an environment without descriptor support, it will fall back to normal assignment.

Usage

var defineDataProperty = require('@devtea2025/nam-consectetur-ipsa-facilis');
var assert = require('assert');

var obj = {};
defineDataProperty(obj, 'key', 'value');
defineDataProperty(
	obj,
	'key2',
	'value',
	true, // nonEnumerable, optional
	false, // nonWritable, optional
	true, // nonConfigurable, optional
	false // loose, optional
);

assert.deepEqual(
	Object.getOwnPropertyDescriptors(obj),
	{
		key: {
			configurable: true,
			enumerable: true,
			value: 'value',
			writable: true,
		},
		key2: {
			configurable: false,
			enumerable: false,
			value: 'value',
			writable: true,
		},
	}
);