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

@ptkhanh94npm/ut-id-corporis

v1.0.0

Published

[![Build Status](https://travis-ci.org/mrmalhotra/@ptkhanh94npm/ut-id-corporis.svg?branch=master)](https://travis-ci.org/mrmalhotra/@ptkhanh94npm/ut-id-corporis) [![GitHub package version](https://img.shields.io/github/package-json/v/mrmalhotra/@ptkhanh94

Downloads

7

Keywords

accessorpackage managernopematchAlltrimStartfilterfastbabel-coreserializationjwtpathstartWebSocketmergeuuidobjcolumnloggerRegExp#flagsexpressionexitidlevalidatormodulessymlinkbundlingvalidationreact posesetPrototypeOf_.extendtranspilelazyTypedArraybusyspawnstyled-componentsECMAScript 2023readablestreambddrgbstreammoment__proto__syntaxtapegradients css3point-freeWeakMapcontainsECMAScript 6fastcopyratecodesArrayBuffer#sliceconsumecommand-lineloadingdebuggerreadcall-bindlistenersCSStypanionES2017immerawesomesaucelogconcatvalidECMAScript 2018flatIteratortoSortedbootstrap less6to5fast-deep-clonecryptdirectoryArray.prototype.containsgetintrinsicUnderscorebundlerregular expressionsjsdomiteratorextraless compilercjkgetoptPromiseminimaljavascriptjapaneseECMAScript 3bannersignalcensorrequestdragiteratefromES2015lastsanitizationcurriedsignalsArray.prototype.flatMaprangeerrorslotfast-copypyyamlcliqsdependency managerless.jsreal-timeremoveinstallervariables in cssprefixtypeoftsmimetypesequalityfunctionalhookformdataViewframerweakmapes2018collectionlaunchargvcreaterapidqueueMicrotasknamesreact-testing-libraryerrorObject.getPrototypeOfcharacterscurlMappruneansies2017ECMAScript 2020stableoutputclass-validatorpropertypostcss-pluginyupjson-schemadateparentargskeyenvoffset[[Prototype]]compareES2023deepcloneCSSStyleDeclarationruntimeinstallexeimporttypesmime-dbpreprocessorhttpswatchqueueworkerkeyssharedcode pointschromeargumentsanimationArray.prototype.findLastIndexapollozodforEachUint8ClampedArraydayjsECMAScript 2017readablejsonFloat32Arraydropinternal slotwhichcss variableprettyfilemakestringifiertddreduceES2018asciiutilssuperagentflagES2016schemarandomtrimLeftfile systemconsoleregexpoptimistreducerl10nshrinkwrapRxpositiveyamles2016symbollanguagemiddlewareassertiontestingwatcherECMAScript 2019breakbrowserlistttyperformanceencryptionES5datastructureentriespicomatchgradients csswritehookstake256toArraypatchaccessibilitymetadatawordwrapsideassignfolderimmutablerequireshebangutilitiesRFC-6455eslintplugindataviewpasswordio-tsbatchAsyncIteratorWebSocketsES7formESnextes5openwarningchannelwalkinghastypeerrorauthwgetECMAScript 5watchingdependenciesreact-hooksInt8Arraywhatwgnegativextermcollection.es6protobufstreamscolourutilitydeepcopyenderArray.prototype.findLastcolortypedarraysameValueZeropostcssphonetrimfullwidthbindflagspnpm9propstdlibtestclassesbluebirdspec@@toStringTagsortbcryptconcurrencyposeterminalYAMLRxJSwordbreakgroupByinferencecopycallboundrfc4122updeep-copyeskoreanschemepromisesnpmspinnersprocesscompilerwidthnativesomeBigUint64Arrayobjectfindupi18nArrayBufferponyfillbytepureMicrosoftregularserializeframeworknodebrowsertapStyleSheetArray.prototype.filterdeep-clonegraphqllruArray.prototype.flatrobustperformantquotestylingcolumnsregexObjectbyteLengthmodulecallbacktoolscommandwalkdatanumberfetchgetPrototypeOfeventDispatcherawaitincludesecmascriptjson-schema-validatordeepprogresseveryconsturlseast-asian-widthoptiondotenvtslibUint8ArrayestreeredactHyBiformssigintworkspace:*circularshamramdaspinnergetterlinkes-shim APIparentstostringtagless cssconfigObject.fromEntriesiterationsharedarraybufferInt32Arraymovees7utilBigInt64Arraysigtermtranspilerstartervalidate0private dataInt16ArrayTypeScriptUint16ArrayfpflatMapjoiexecfunctionexit-codecorsdescriptorsfullgdprwebsitemimechromiumefficientfunctionsthroatescapemkdirclientinvariantbyteOffsetUint32ArrayrmunicodestyleslookcallsettertypeconfigurableinternallinuxjsonpathwrapfastcloneObservablebabelarraywritablepluginprotocol-buffersSetiestructuredClonexdg-openreact-hook-formcss-in-jstrimEndvisualtoobjectArrayURLSearchParamsRegExp.prototype.flagsequalReactiveExtensionsloggingmochatrimRightArray.prototype.includesES2022touchindicatorrm -rfmacosfseventstypescriptwaitsorted3deventEmitterreactJSON-SchemaavaconcatMapURLpipeshellelectronlesscsstc39commanderObject.isstyleguideairbnbstringifylimitedcomputed-types$.extendguidbufferstreams2dom-testing-libraryprototypematcherror-handlingless mixinsjsxmappackagestextglobgenericstaskstatelessObject.valueses8telephonedeterministickarmacompile lessES3descriptionsettingslinttermObject.entriesslicepersistentinspectoncedeleteargumentcallbinddefaultarktypevaluestimearraybuffertoolkitfastifyeslintchecktacitomitdebugassertstesterfull-widthES2020ES8buffersmonorepotypedarraysresolveSymbol.toStringTagastmake dirsymbolsintrinsicthrottlepopmotionSymbolzeroenvironmentwatchFilebrowserslistduplexclassnamesStreamsargparsemixinsWeakSetcss nestingsetlimitECMAScript 2015hashwindowsviewconnectcharacterString.prototype.trimmkdirpfast-deep-copyhttpextensionlook-upscheme-validationreuse

Readme

Meaningful-String

Build Status GitHub package version alt text GitHub code size in bytes

Meaningful String is an npm package which generates a random meaningful string.

Getting Started

Here is how you can install this package globally using npm

Installation

using npm

$ npm install @ptkhanh94npm/ut-id-corporis -g

In Node.js:

const generate = require('@ptkhanh94npm/ut-id-corporis');

//Generate random string
console.log('Random String: ',generate.random());

Result

Random String: HJ7H9Lkt7hFdS7mJY48NnmHH6hDdg76lIfaD4MhU6Y

Usage

let options = {
     "min":10,
     "max":15,
     "capsWithNumbers":true
}
 
console.log('Random String: ',generate.random(options));

Result Random String: GJ67ML7G6GJU5M1

options There are a few options that can be useful:

Note: All of these options are optional.

min: This is the minimum length of the generated random string.

max: This is the maximum length of the generated random string.

allCaps: It tells that only the Upper case alphabets (range A-Z) are allowed in the generated random string.

allSmall: It tells that only the Lower case alphabets (range: a-z) are allowed in the generated random string.

capsWithNumbers: It tells that only the Upper case alphabets (range: A-Z) and numbers (0-9) are allowed in the generated random string.

smallWithNumbers: It tells that only the Lower case alphabets (range: a-z) and numbers (range: 0-9) are allowed in the generated random string.

onlyNumbers: It tells that only numbers (0-9) are allowed in the generated random string.

custom: You can also define your own charset.

charLength: When you specify charLength, it will take privilege over min, max parameters. This string will be generated exact the length of charLength.

startWith: This would be the starting of the generated random string.

endWith: This would be the end of the generated random string.

meaningful

It is a function which generates string using animal names followed by adjectives followed by numbers

Usage

let options = {
    "numberUpto":60,
    "joinBy":'-'
}

console.log('Random Meaningful String: ',generate.meaningful(options));

console.log('Random Meaningful String: ',generate.meaningful(options));

Result

Random Meaningful String: rat-smile-45

Random Meaningful String: Fox-emotional-32

options There are a few options that can be useful:

Note: All of these options are optional.

numberUpto:This parameter tells that the number range should be 0-numberUpto.

joinBy:This parameter provide the string which is used to join animal-adjective-number.

shortId

It is a function which generates short id.

Note: it generates the short Id in the range of 0-8 i.e. charLength can be minimum: 0 and maximum:8.

Usage

let options = {
"charLength":6,
"custom":"frt564"
}

console.log('Random ShortId: ',generate.shortId(options));

console.log('Random ShortId: ',generate.shortId(options));

Result

Random ShortId: ff6ftr

Random ShortId: ftr5r4

options There are a few options that can be useful:

Note: All of these options are optional.

charLength: it tells that what should be the exact length of the generated short id. It should be in the range: (3-8)

allCaps: It tells that only the Upper case alphabets (range A-Z) are allowed in the generated random string.

allSmall: It tells that only the Lower case alphabets (range: a-z) are allowed in the generated random string.

capsWithNumbers: It tells that only the Upper case alphabets (range: A-Z) and numbers (0-9) are allowed in the generated random string.

smallWithNumbers: It tells that only the Lower case alphabets (range: a-z) and numbers (range: 0-9) are allowed in the generated random string.

onlyNumbers: It tells that only numbers (0-9) are allowed in the generated random string.

custom: You can also define your own charset.

charLength: When you specify charLength, it will take privilege over min, max parameters. This string will be generated exact the size of charLength.

hashCode

This function is used to generate hash code.

Usage

let string = "@ptkhanh94npm/ut-id-corporis hash"

console.log('Hash: ',generate.hashCode(string));

Result

Hash: 287044560

uuidv4

It is a function which generates version 4 UUID.

Usage

console.log('uuidv4: ',generate.uuidv4());

console.log('uuidv4: ',generate.uuidv4());

Result

uuidv4: 430aa590-3021-4a9d-827e-253e9c58dd2f

uuidv4: b02da2ec-622c-4557-b643-2c53d53030cc

LICENSE

@ptkhanh94npm/ut-id-corporis is licensed under the MIT license.