advanced-random
Advanced tools
Comparing version
{ | ||
"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. |
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
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
0
-100%1
-50%0
-100%678
-84.6%2
-33.33%0
-100%6
-90.62%2
Infinity%- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed