Skip to content

Instantly share code, notes, and snippets.

View kartiknair's full-sized avatar

Kartik Nair kartiknair

View GitHub Profile
tvardy / app.js
Created July 3, 2017 10:10
Quickly scrape currently available 2-4 letter NPM package names (with results below). Last updated July 1, 2017.
const chalkline = require('chalkline');
const npmName = require('npm-name');
const request = require('request-promise-native');
const api = '$-letter-words/get.json?limit=0&offset=0&order=asc';
(async function check() {
try {
for (let i=2; i<=4; i++) {