Comparing version 0.0.1 to 0.0.2
@@ -29,3 +29,2 @@ var isVowel = require('is-vowel'); | ||
var med = Array( number ).join( arr[0][0] ); | ||
console.log(med); | ||
var fin = arr.join( '' ); | ||
@@ -32,0 +31,0 @@ return ini + med + fin; |
{ | ||
"name": "khaan", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Word elongator", | ||
"main": "index.js", | ||
"repository": "https://github.com/zuzak/node-khan", | ||
"repository": "https://github.com/zuzak/node-khaan", | ||
"author": "Douglas Gardner <douglas@chippy.ch>", | ||
@@ -12,6 +12,7 @@ "license": "ISC", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/zuzak/node-khaan.js" | ||
} | ||
"keywords": [ | ||
"elongate", | ||
"khan", | ||
"vowel" | ||
] | ||
} |
@@ -10,1 +10,21 @@ # node-khan | ||
You can elongate words: | ||
```js | ||
khan.elongate( 'banana', 3 ); | ||
// 'baaanana' | ||
khan.elongate( 'banana', 5 ); | ||
// 'baaaaanana' | ||
``` | ||
Or use the internal function to split a string at vowels: | ||
```js | ||
khan.splitAtVowels( 'antelope' ); | ||
// [ 'ant', 'el', 'op', 'e' ] | ||
``` | ||
as well as just uppercase and exclaim: | ||
```js | ||
khan.khan(); | ||
// 'KHAAAAAN!' | ||
``` |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
2393
30
36
1