str8
v1.0.5
Published
Simple string manipulation library
Downloads
51
Readme
str8.js
A simple string manipulation library written in Javascript.
Use
// load the module
var str8 = require('str8.js');
// ask for the first half of a string
var half = str8.firstHalf("test"); // half = "te";
Test
To execute the library's tests, first install the project dependencies:
$ npm install
Then, run the tests
$ npm test