A cli tool to quickly create and manage nginx server blocks.
https://up.js.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
234 B
8 lines
234 B
'use strict';
|
|
|
|
const https = require('https');
|
|
const fs = require('fs-extra');
|
|
|
|
const file = fs.createWriteStream("./assets/tlds.txt");
|
|
https.get("https://data.iana.org/TLD/tlds-alpha-by-domain.txt",response =>
|
|
response.pipe(file));
|
|
|