Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

archi

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

archi - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

bower.json

8

index.js

@@ -48,3 +48,3 @@ 'use strict';

module.exports = {
var archi = {
calc: function (num) {

@@ -54,1 +54,7 @@ return new ArchiNumber(num);

};
if (process.browser) {
global.archi = archi;
}
module.exports = archi;

9

package.json
{
"name": "archi",
"version": "0.1.2",
"version": "0.2.0",
"description": "Easy math with decimals for Javascript",
"main": "index.js",
"scripts": {
"test": "jshint . --reporter node_modules/jshint-stylish/stylish.js && tape tests/**/*.js"
"test": "jshint index.js && tape tests/**/*.js",
"build": "npm run test; browserify index.js -d -o dist/archi.js; uglify -s dist/archi.js -o dist/archi.min.js"
},

@@ -25,4 +26,4 @@ "repository": {

"devDependencies": {
"jshint": "~2.6.0",
"jshint-stylish": "~1.0.0",
"browserify": "^14.1.0",
"jshint": "^2.9.4",
"tape": "^4.0.0"

@@ -29,0 +30,0 @@ },

@@ -1,2 +0,2 @@

# +archi
# +archi [![Greenkeeper badge](https://badges.greenkeeper.io/nescalante/archi.svg)](https://greenkeeper.io/)

@@ -15,2 +15,8 @@ > Easy math with decimals for Javascript

Using `bower`
```
bower install archi
```
## Native simple Javascript sum

@@ -17,0 +23,0 @@

@@ -39,1 +39,7 @@ 'use strict';

});
test('should not be a global if node process', function (t) {
t.equal(global.archi, undefined);
t.end();
});
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