Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
whois-history
Advanced tools
Whois History API client for Node.js
Weekly downloads
Readme
The client library for Whois History API for Node.js.
The minimum Node.js version is 8.
The library is distributed via npm
npm install whois-history
Full API documentation available here
const WhoisHistoryClient = require('whois-history').Client;
const Options = require('whois-history/include/client').Options;
let client = new WhoisHistoryClient(
'Your API Key'
);
// Check how many records available. It doesn't deduct credits.
client.preview('whoisxmlapi.com')
.then(function (data) {
console.log(data);
})
.catch(function (error) {
console.log(error);
});
// Get actual list of records.
client.purchase('whoisxmlapi.com')
.then(function (data) {
console.log(data);
})
.catch(function (error) {
console.log(error);
});
You can specify search options for these methods.
let date = new Date("2017-01-01")
let options = new Options()
options.sinceDate = date
options.createdDateFrom = date
options.createdDateTo = date
options.updatedDateFrom = date
options.updatedDateTo = date
options.expiredDateFrom = date
options.expiredDateTo = date
client.preview('whoisxmlapi.com', options)
.then(function (data) {
console.log(data);
})
.catch(function (error) {
console.log(error);
});
client.preview('whoisxmlapi.com', new Options(), function (err, res) {
if (err) {
console.log(err);
} else {
console.log(res);
}
});
FAQs
Whois History API client for Node.js
The npm package whois-history receives a total of 0 weekly downloads. As such, whois-history popularity was classified as not popular.
We found that whois-history demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.