JavaScript String

Voca is a JavaScript library for manipulating strings. v.camelCase('bird flight'); // => 'birdFlight' v.sprintf('%s costs $%.2f', 'Tea', 1.5); // => 'Tea costs $1.50' v.slugify('What

Sindre Sorhus
Slugify a string


slugify Slugify a string Useful for URLs, filenames, and IDs. Install $ npm install @sindresorhus/slugify Usage const slugify = require('@sindresorhus/slugify'); slugify('I ♥ Dogs'); //=> 'i-

Sindre Sorhus
Generate a cryptographically strong random string


crypto-random-string Generate a cryptographically strong random string Can be useful for creating an identifier, slug, salt, fixture, etc. Install $ npm install --save crypto-random-string Usage


niceware A JS library for generating random-yet-memorable passwords, either server-side in Node or in the browser. Each word provides 16 bits of entropy, so a useful password requires at least 3 words. Because the wordlist is

Thomas Watson
Get a progress bar as a string


progress-string Generate a CLI progress bar as a string that you can then output in any way you like. Installation npm install progress-string --save Usage var progress = require('progress-string')

Sindre Sorhus
Generate a unique random string


unique-string Generate a unique random string Install $ npm install --save unique-string Usage const uniqueString = require('unique-string'); uniqueString(); //=> 'b4de2a49c8ffa3fbee04446f0454


Fuzzy Search A JavaScript plugin to find exact and fuzzy matches in a library of strings. Using Generator Babel Boilerplate. Example Overview Fuzzy Search provides sea


deline An ES6 string tag that strips unwanted newlines from multi-line strings. Usage import deline from 'deline'; function usageExample() { const example1 = deline` A string that’s too long to put on one lin


transai transai is a command line tool to help you do Android and iOS translation management. You can extract string files to csv format, or generate string files from csv file for both Android, iOS and Mac. Inst


number-pad Convert a string to a number based on a classic phone number pad encoding npm install number-pad Usage var numberPad = require('number-pad') console.log(numberPad('data')) // 3282 Comman


slice.js slice.js is a simple(< 1 Kb) javascript library to engance String.substring / Array.slice with python slice style. In python, we can process string or array with code below: string = '12345678' print (string[

Patrick Collins
A repo for generating random NFTs with metadata 100% on chain!


All On Chain Generated NFT This is a repo that shows 2 things: How to create NFTs with metadata that is 100% on-chain How we can generate random art o


Replace all instances of "@@strings like this" with hashes.

Lunar Logic
Random text generator


JS Ipsum - put some JavaScript into your mockups JS Ipsum is a random text generator. It takes real JavaScript buzzwords definitions from JS Jargon and mixes them in unexpected ways that will make you laugh and cry inside (at the


sqlobj A JavaScript utility used to build SQL strings via an Object Install $ npm install sqlobj Usage SELECT var sqlobj = require('sqlobj'); var options = { select: '*', from: 'user', wh