Function that checks if a string contains another string.
Install with npm:
npm install string-contains --save-dev
var contains = require("string-contains");
console.log(contains("Hello world", "world"));
//=> 'true'
Tor Arne Kvaløy
Copyright (c) 2014 Tor Arne Kvaløy, contributors.
Released under the MIT license