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

fourdollar.isinteger

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

fourdollar.isinteger - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

6

index.js

@@ -0,12 +1,10 @@

"use strict";
/**
* isInteger
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isInteger(value) {
return /^[-+\d]\d*$/.test(value);
return /^[-+]?\d+$/.test(value);
}
exports.isInteger = isInteger;
exports.default = isInteger;
//# sourceMappingURL=index.js.map
{
"name": "fourdollar.isinteger",
"version": "1.0.3",
"version": "1.0.4",
"main": "index.js",
"typings": "index.d.ts",
"author": {

@@ -6,0 +7,0 @@ "name": "bynaki",

@@ -9,3 +9,3 @@ # fourdollar.isinteger

```bash
$ npm install --save fourdollar.isinteger
$ yarn add fourdollar.isinteger
```

@@ -12,0 +12,0 @@

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