Displaying 1 to 20 from 404 results

query-string - Parse and stringify URL query strings


🔥 Want to strengthen your core JavaScript skills and master ES6? I would personally recommend this awesome ES6 course by Wes Bos. You might also like his React course.Parse a query string into an object. Leading ? or # are ignored, so you can pass location.search or location.hash directly.

underscore.string - String manipulation helpers for javascript


Javascript lacks complete string manipulation operations. This is an attempt to fill that gap. List of build-in methods can be found for example from Dive Into JavaScript. Originally started as an Underscore.js extension but is a full standalone library nowadays.Upgrading from 2.x to 3.x? Please read the changelog.

string.js - Extra JavaScript string methods.


string.js, or simply S is a lightweight (< 5 kb minified and gzipped) JavaScript library for the browser or for Node.js that provides extra String methods. Originally, it modified the String prototype. But I quickly learned that in JavaScript, this is considered poor practice.Personally, I prefer the cleanliness of the way code looks when it appears to be native methods. i.e. when you modify native JavaScript prototypes. However, if any app dependency required string.js, then the app's string prototype would be modified in every module. This could be troublesome. So I settled on creating a wrapper a la jQuery style. For those of you prototype hatin' fools, there is the method extendPrototype().




multiline - Multiline strings in JavaScript


Use ES2015 template literals instead whenever possible.It works by wrapping the text in a block comment, anonymous function, and a function call. The anonymous function is passed into the function call and the contents of the comment extracted.

strman-java - A Java 8 string manipulation library.


A Java 8 library for working with Strings. You can learn about all the String utility functions implemented in strman library by reading the documentation. To use strman in your application, you have to add strman to your classpath. strman is available on Maven Central so you just need to add dependency in your favorite build tool as shown below.


string_score - JavaScript string ranking 0 for no match upto 1 for perfect


Simply include one of the string score JavaScript files and call the .score() method on any string. ** IE 7 fails (stop running this script message) with 4000 iterations of the benchmark test. All other browsers tested survived this test, and in fact survive a larger number of iterations. The benchmark that is causing IE to choke is: 4000 iterations of 446 character string scoring a 70 character match.

react-values - A set of tiny React components for handling state with render props.


A set of tiny, composable React components for handling state with render props. It does this using a small render-prop-based API that exposes helpful transforms like toggle, increment, filter, etc. depending on the type of value, all based on JavaScripts native value types...

101 - A modern JS utility library


Just like ES6's Object.assign. Extend an object with any number of objects (returns original). Functional version of &&. Works great with array.reduce.

left-pad - :arrow_left: String left pad


NOTE: The third argument should be a single char. However the module doesn't throw an error if you supply more than one chars. See #28. NOTE: Characters having code points outside of BMP plan are considered a two distinct characters. See #58.

magic-string - Manipulate strings like a wizard


Suppose you have some source code. You want to make some light modifications to it - replacing a few characters here and there, wrapping it with a header and footer, etc - and ideally you'd like to generate a source map at the end of it. You've thought about using something like recast (which allows you to generate an AST from some JavaScript, manipulate it, and reprint it with a sourcemap without losing your comments and formatting), but it seems like overkill for your needs (or maybe the source code isn't JavaScript).Your requirements are, frankly, rather niche. But they're requirements that I also have, and for which I made magic-string. It's a small, fast utility for manipulating strings and generating sourcemaps.

expect-jsx - ✅ toEqualJSX for expect assertion library


Note from maintainers Since Jest supports snapshot testing, we recommend you to use that instead of expect-jsx. expect-jsx is no more compatible with recent Jest versions (22), it can be made compatible so feel free to open a PR if so.

prelude-ls - prelude


is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript. See the prelude.ls site for examples, a reference, and more.

.NET Extension


A most enormous library extension over Microsoft .NET platform, including 1000+ new methods and 300+ useful, official-looking, and well-structured classes.

Random Text Generator


Generate random strings (words), sentences, and paragraphs.