0.0.4 • Published 8 years ago

js-contains v0.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

Node (backend)

  • install with npm install --save js-contains
  • remember to require the plugin
  • example:

    require('js-contains');
    ["hi","ho"].contains("hi") // true
    ["he","ho"].contains("hi") // false
    "asjasdhiasdasd".contains("hi") // true
    "asjasdhoasdasd".contains("hi") // false

Frontend

  • install with bower install --save js-contains
  • inject the js-contains.js file into your HTML:

    <script src="[path_to_bower_packages]/js-contains/js-contains.js"></script>
  • example:

    ["hi","ho"].contains("hi") // true
    ["he","ho"].contains("hi") // false
    "asjasdhiasdasd".contains("hi") // true
    "asjasdhoasdasd".contains("hi") // false
0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.1

8 years ago