advanced-random
Advanced tools
Comparing version 1.0.3 to 2.0.0
{ | ||
"name": "advanced-random", | ||
"version": "1.0.3", | ||
"description": "Module for getting random values from random.org", | ||
"version": "2.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
@@ -9,11 +9,12 @@ "scripts": { | ||
}, | ||
"keywords": [ | ||
"random" | ||
], | ||
"author": "unInstance", | ||
"license": "MIT", | ||
"dependencies": { | ||
"request": "^2.81.0", | ||
"request-promise": "^4.2.1" | ||
} | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/npm/deprecate-holder.git" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/npm/deprecate-holder/issues" | ||
}, | ||
"homepage": "https://github.com/npm/deprecate-holder#readme" | ||
} |
@@ -1,63 +0,5 @@ | ||
Technically it is just wrapper for random.org API service. | ||
# Deprecated Package | ||
# Installation | ||
``` | ||
npm install advanced-random | ||
``` | ||
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name. | ||
# Usage | ||
### Simple usage example | ||
```javascript | ||
const random = require('advanced-random'); | ||
random.integerGenerator().then(console.log).catch(console.log); | ||
random.sequenceGenerator().then(console.log).catch(console.log); | ||
random.stringGenerator().then(console.log).catch(console.log); | ||
random.quotaChecker().then(console.log).catch(console.log); | ||
``` | ||
### Integer Generator | ||
```javascript | ||
//... | ||
random.integerGenerator({ | ||
num: 15, | ||
min: -1e8, | ||
max: 148, | ||
base: 16, | ||
rnd: 'new' | ||
}).then(console.log).catch(console.log); | ||
``` | ||
### Sequence Generator | ||
```javascript | ||
//... | ||
random.sequenceGenerator({ | ||
min: 1, | ||
max: 2, | ||
rnd: 'new' | ||
}).then(console.log).catch(console.log); | ||
``` | ||
### String Generator | ||
```javascript | ||
random.stringGenerator({ | ||
num: 1, | ||
len: 19, | ||
digits: 'on', | ||
upperalpha: 'on', | ||
loweralpha: 'on', | ||
unique: 'on', | ||
rnd: 'new' | ||
}).then(console.log).catch(console.log); | ||
``` | ||
### Quota Checker | ||
```javascript | ||
//... | ||
random.quotaChecker({ | ||
ip: '127.0.0.1' | ||
}).then(console.log).catch(console.log); | ||
``` | ||
Visit https://www.random.org/clients/http/ for more detailed information. | ||
Please contact support@npmjs.com if you have questions about this 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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
1
0
678
2
0
6
2
- Removedrequest@^2.81.0
- Removedrequest-promise@^4.2.1
- Removedajv@6.12.6(transitive)
- Removedasn1@0.2.6(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedbluebird@3.7.2(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcore-util-is@1.0.2(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedecc-jsbn@0.1.2(transitive)
- Removedextend@3.0.2(transitive)
- Removedextsprintf@1.3.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedforever-agent@0.6.1(transitive)
- Removedform-data@2.3.3(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedisstream@0.1.2(transitive)
- Removedjsbn@0.1.1(transitive)
- Removedjson-schema@0.4.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedjsprim@1.4.2(transitive)
- Removedlodash@4.17.21(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedpsl@1.13.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.5.3(transitive)
- Removedrequest@2.88.2(transitive)
- Removedrequest-promise@4.2.6(transitive)
- Removedrequest-promise-core@1.1.4(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedstealthy-require@1.1.1(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removeduri-js@4.4.1(transitive)
- Removeduuid@3.4.0(transitive)
- Removedverror@1.10.0(transitive)