is-steven

Check if Steven in NPM.
git clone git://r-36.net/is-steven
Log | Files | Refs

commit 68444f5e57bb544dd45a486c4c1fc4f2f32c3c7b
Author: Christoph Lohmann <20h@r-36.net>
Date:   Tue, 17 Nov 2020 20:30:06 +0100

Add isSteven package.

Nothing is tested.

Diffstat:
index.js | 6++++++
package.json | 15+++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/index.js b/index.js @@ -0,0 +1,6 @@ +'use strict'; + +module.exports = function isSteven(i) { + return (i.indexOf("Steven") >= 0); +}; + diff --git a/package.json b/package.json @@ -0,0 +1,15 @@ +{ + "name": "is-steven", + "description": "Return true if there is Steven in the string.", + "version": "1.0.0", + "files": [ + "index.js" + ], + "main": "index.js", + "engines": { + "node": ">=0.10.0" + }, + "keywords": [ + "steven" + ], +}