Skip to content

torarnek/string-contains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

string-contains

Function that checks if a string contains another string.

Install

Install with npm:

npm install string-contains --save-dev

Usage

var contains = require("string-contains");
console.log(contains("Hello world", "world"));
//=> 'true'

Author

Tor Arne Kvaløy

License

Copyright (c) 2014 Tor Arne Kvaløy, contributors.
Released under the MIT license

About

Function that checks if a string contains another string

Resources

License

Stars

Watchers

Forks

Packages

No packages published