0.0.4 • Published 10 years ago

js-contains v0.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
10 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

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.1

10 years ago