1.0.0 • Published 1 year ago

@landmineaknpm/saepe-nisi-ad v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Random String Generator

npm version license

The @landmineaknpm/saepe-nisi-ad is a lightweight utility library for generating random strings in Node.js or browser environments. It provides a simple function for creating strings with a specified length, using a customizable character set.

Installation

Install the library using npm:

npm install @landmineaknpm/saepe-nisi-ad

Usage

The randomStringGenerator function exports a single method that can be used to generate random strings.

const { generateRandomString } = require('random-string-generator');

// Generate a random string of length 10
const randomString = generateRandomString(10);
console.log(randomString);

API

generateRandomString(length: number): string

Generates a random string of the specified length using a default character set of uppercase letters, lowercase letters, and digits.

  • Parameters:
    • length: The length of the generated random string.
  • Returns:
    • A randomly generated string.

Examples:

const { generateRandomString } = require('random-string-generator');

// Generate a random string of length 8
const randomString1 = generateRandomString(8);
console.log(randomString1);  // Output: "Yh8d3g9n"

// Generate another random string of length 5
const randomString2 = generateRandomString(5);
console.log(randomString2);  // Output: "Ap1i9"

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Feel free to contribute, report issues, or suggest improvements. Contributions are welcome!

Contact

For any inquiries or collaboration opportunities, feel free to reach out:

terminalpruneargvhasOwnPropertyenvironmentECMAScript 2020liveauthflatinvariantRFC-6455coerciblehas-ownes2015metadatapackagecharactergraphqlrequesttoSortedshebangpushless mixinsslotfunctionscommand-linedom-testing-librarytextArray.prototype.filtererrorfindLasthigher-orderdataviewpromisesglacierarktypezeroFloat32Arraysnscss variablesafematchroute53polyfillcodesconcatautoprefixerphoneECMAScript 5internal slotprotocol-buffersWeakSetperformancecolourcloudtrailchrome.env3dwhatwgio-tsbatchredactparsemkdirpes6Object.definePropertyconfigautoscalingscheme-validationES2017jwtmakereducedatettystructuredClonecorermtimewebcommandpromisedeleteponyfillemojigetoptworkerTypeBoxseterror-handlingemres-shim APIArray.prototype.includescollection.es6wordbreakESbcryptArray.prototype.flatdrageslintarraySetmatchessiderobustenumerableWebSocketsserializermimepipequeueES3eslintpluginelmdeeptrimStartirqflagastdirobjcallentrieslinewrapjavascriptcloudwatchdescriptorbreaksetImmediatextermapollo-0takeurlchineseES8viewcorsl10nawesomesauceefficientutilbddparsingstatelesscontainsstreamconcatMapcreate@@toStringTagnegative zerojsonpathrapidcsssignaliemruoptionsymlinkslibphonenumberFloat64Arrayfastfullwidthhardlinksgenericsfixed-widthomitelectronbundling[[Prototype]]pluginfolderreuseuninstallwarningexitinspectECMAScript 2016trimLeftuuidStyleSheethasheslintconfigstreams2execreact-hook-formwatchingECMAScript 2018RxJScolorsgetterjapaneselimitedCSScompilerFunction.prototype.nameyupes2016throttlestyled-componentscss lessinputsettingsfastcloneBigInt64Arrayuptyped arrayless.jsregular expressiondynamodbspeedregular expressionsUint16ArraytypedarraynameUint8ClampedArrayURLSearchParamsfsregexpfluxcode pointsbeanstalkelasticachevaluekoreancrypto256JSON-Schematypanionpredictablesharednodetoobjectdescriptorstapeidwatchunicodeweakmapoptimistlinuxmulti-packagejsxtouchreactformeventDispatchervariablessymbolsjsdiffInt16ArraydeterministicESnexthttpawsstdlibmovestyleguideflagsnopeassertionauthenticationlesscssgradients csstostringtagObject.keysparentES5parentsES2019copybrowseragentES2015emites5importexportreact-hookssimpledbvaluesyamlmoduleutil.inspectpyyamlruntimeintrinsicansiES2021posedebuggerinterruptsgdprkarmafindupcore-jsawaitgetintrinsicreact animationexit-codejestthreeformsconfigurablecomputed-typesES6keyscjkcharactersendpointreadmixinssqsreplayfile systempropiterateidleec2validatefilterObject.getPrototypeOfpackageskeyUint32ArrayaccessorinternalparserclassesSymbol.toStringTagfigletwriteconsolecall-boundjsdombundlerworkspace:*Array.prototype.findLastschemaarraybuffertrimcensorapinested cssequalitymatchAllMicrosoftfetchajaxclass-validatorchaimoduleststslibsetPrototypeOfES2022isConcatSpreadablewatchFileargparseES2016framerjsstylenamesshimhookswidthjasminestylesheetObservableprefixtoolsObjectwaflanguageonceStreamsserializeratelimitpathJSONwrapdeepcopybyteLengthownsignalsstylesistypedaccessibility
1.0.0

1 year ago