New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

khaan

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

khaan - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

1

index.js

@@ -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;

13

package.json
{
"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!'
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc