Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdehaan/heartbleed
#Nodejs wrapper for heartbleed API using request/promise.
https://github.com/pdehaan/heartbleed
Last synced: 15 days ago
JSON representation
#Nodejs wrapper for heartbleed API using request/promise.
- Host: GitHub
- URL: https://github.com/pdehaan/heartbleed
- Owner: pdehaan
- Created: 2014-04-10T23:45:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-11T00:05:00.000Z (over 10 years ago)
- Last Synced: 2024-12-01T05:22:09.591Z (about 1 month ago)
- Language: JavaScript
- Size: 123 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# heartbleed
Node.js wrapper for heartbleed API using request/promises.
## Usage:
### 1. Install:
```bash
$ npm i heartbleed -S
```### 2. Use:
```javascript
var heartbleed = require("heartbleed");heartbleed("github.com").then(function (data) {
console.log(JSON.stringify(data, null, 2));
}, function (err) {
console.error(err);
});
```### 3. Output:
```bash
$ node index
``````json
{
"code": 1,
"data": "",
"error": "",
"host": "github.com",
"status": "safe"
}
```