npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@smeghead7/whois-result-parser

v0.0.9

Published

Parse a whois command result text data into a json object.

Downloads

9

Readme

whois-result-parser

Parse the result of the whois command to get the expiration date, creation date, update date, etc.

It is intended to be used to parse the raw text of the whois command obtained using a package such as whois-light.

https://www.npmjs.com/package/@smeghead7/whois-result-parser

npm version Actions Status

Usage

npm i whois-light
npm i @smeghead7/whois-result-parser
const whois = require('whois-light');
const WhoisResultParser = require('@smeghead7/whois-result-parser');

(async () => {
  const whoisResult = await whois.lookup("ntt.jp")
  const parser = new WhoisResultParser('ntt.jp', whoisResult);
  console.log(parser.parse());
})();
// => {
//   domainName: 'NTT.JP',
//   updatedDate: '2022-06-01T01:05:07+00:00',
//   creationDate: '2001-05-09T00:00:00+00:00',
//   expirationDate: '2023-05-31T00:00:00+00:00'
// }

Development Environment

Development initialize

open development shell by root user. and you will change owner of mouted files.

docker-compose run --rm -u 0 node sh
# npm install
# chown node:node -R .

Open development shell.

open development shell by node user.

docker-compose run --rm node sh

domains

  • com

  • net

  • org

  • edu

  • gov [not tested yet]

  • mil [not tested yet]

  • int

  • info

  • biz

  • name [not tested yet]

  • pro

  • museum

  • aero

  • coop

  • jobs [not tested yet]

  • travel [not tested yet]

  • mobi [not tested yet]

  • cat [not tested yet]

  • asia

  • tel

  • xxx [not tested yet]

  • post [not tested yet]

  • ac

  • ad [not tested yet]

  • ae [not tested yet]

  • af [not tested yet]

  • ag [not tested yet]

  • ai [not tested yet]

  • al [not tested yet]

  • am [not tested yet]

  • an [not tested yet]

  • ao [not tested yet]

  • aq [not tested yet]

  • ar [not tested yet]

  • as [not tested yet]

  • at [not tested yet]

  • au

  • aw [not tested yet]

  • ax [not tested yet]

  • az [not tested yet]

  • ba [not tested yet]

  • bb [not tested yet]

  • bd [not tested yet]

  • be [not tested yet]

  • bf [not tested yet]

  • bg [not tested yet]

  • bh [not tested yet]

  • bi [not tested yet]

  • bj [not tested yet]

  • bl [not tested yet]

  • bm [not tested yet]

  • bn [not tested yet]

  • bo [not tested yet]

  • bq [not tested yet]

  • br

  • bs [not tested yet]

  • bt [not tested yet]

  • bv [not tested yet]

  • bw [not tested yet]

  • by [not tested yet]

  • bz [not tested yet]

  • ca

  • cc [not tested yet]

  • cd [not tested yet]

  • cf [not tested yet]

  • cg [not tested yet]

  • ch [not tested yet]

  • ci [not tested yet]

  • ck [not tested yet]

  • cl [not tested yet]

  • cm [not tested yet]

  • cn

  • co

  • cr [not tested yet]

  • cu [not tested yet]

  • cv [not tested yet]

  • cw [not tested yet]

  • cx [not tested yet]

  • cy [not tested yet]

  • cz [not tested yet]

  • de

  • dj [not tested yet]

  • dk [not tested yet]

  • dm [not tested yet]

  • do [not tested yet]

  • dz [not tested yet]

  • ec [not tested yet]

  • ee

  • eg [not tested yet]

  • eh [not tested yet]

  • er [not tested yet]

  • es [not tested yet]

  • et [not tested yet]

  • eu [not tested yet]

  • fi

  • fj [not tested yet]

  • fk [not tested yet]

  • fm [not tested yet]

  • fo [not tested yet]

  • fr

  • ga [not tested yet]

  • gb [not tested yet]

  • gd [not tested yet]

  • ge [not tested yet]

  • gf [not tested yet]

  • gg [not tested yet]

  • gh [not tested yet]

  • gi [not tested yet]

  • gl [not tested yet]

  • gm [not tested yet]

  • gn [not tested yet]

  • gp [not tested yet]

  • gq [not tested yet]

  • gr [not tested yet]

  • gs [not tested yet]

  • gt [not tested yet]

  • gu [not tested yet]

  • gw [not tested yet]

  • gy [not tested yet]

  • hk [not tested yet]

  • hm [not tested yet]

  • hn [not tested yet]

  • hr [not tested yet]

  • ht [not tested yet]

  • hu [not tested yet]

  • id

  • ie [not tested yet]

  • il [not tested yet]

  • im [not tested yet]

  • in

  • io [not tested yet]

  • iq [not tested yet]

  • ir [not tested yet]

  • is

  • it [not tested yet]

  • je [not tested yet]

  • jm [not tested yet]

  • jo [not tested yet]

  • jp

  • ke [not tested yet]

  • kg

  • kh [not tested yet]

  • ki [not tested yet]

  • km [not tested yet]

  • kn [not tested yet]

  • kp [not tested yet]

  • kr

  • tk

  • us

  • ru

  • uk

  • nl

  • pl

  • sk

  • se

  • tv