Comparing version 0.3.0 to 0.4.0
27
index.js
@@ -1,26 +0,1 @@ | ||
var five = function() { return 5; }; | ||
module.exports = five; | ||
five.upHigh = function() { return '⁵'; }; | ||
five.downLow = function() { return '₅'; }; | ||
five.roman = function() { return 'V'; }; | ||
five.arabic = function() { return 'خمسة' }; | ||
five.czech = function() { return 'pět' }; | ||
five.english = function() { return 'Five' }; | ||
five.french = function() { return 'cinq' }; | ||
five.german = function() { return 'fünf' }; | ||
five.irish = function() { return 'cúig' }; | ||
five.mongolian = function() { return 'таван' }; | ||
five.polish = function() { return 'pięć' }; | ||
five.swedish = function() { return 'fem' }; | ||
five.thai = function() { return 'ห้า' }; | ||
five.tooSlow = function() { | ||
var returnIn = new Date(new Date().valueOf() + 555); | ||
do {} while(new Date() < returnIn); | ||
return five(); | ||
}; | ||
module.exports = require('./five.js'); |
{ | ||
"name": "five", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Gives you five", | ||
"main": "index.js", | ||
"main": "five.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "test": "node test && echo ✔" |
@@ -13,2 +13,7 @@ # five.js | ||
##### In the browser | ||
```html | ||
<script type="text/javascript" src="./five.js"></script> | ||
``` | ||
##### Basic 5 | ||
@@ -60,3 +65,3 @@ ```javascript | ||
``` | ||
./index.js | ||
./five.js | ||
``` | ||
@@ -63,0 +68,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4198
7
48
71