👮 refactored
This commit is contained in:
4
cli.mjs
4
cli.mjs
@ -1,8 +1,7 @@
|
||||
#!/usr/bin/env -S npx nodejsscript
|
||||
/* jshint esversion: 11,-W097, -W040, module: true, node: true, expr: true, undef: true *//* global echo, $, pipe, s, fetch, cyclicLoop */
|
||||
import { JSDOM } from "jsdom";
|
||||
const url_drops= "https://pagenotfound.cz/drop/";
|
||||
const { name, version, description }= s.cat("package.json").xargs(JSON.parse);
|
||||
const { version, description }= s.cat("package.json").xargs(JSON.parse);
|
||||
/**
|
||||
* @typedef {Object} Article
|
||||
* @property {string} title
|
||||
@ -63,6 +62,7 @@ async function toRSS(json){
|
||||
"</rss>"
|
||||
].join("\n")).to(path);
|
||||
}
|
||||
import { JSDOM } from "jsdom";
|
||||
async function sitemap(){
|
||||
const path= "sitemap.json";
|
||||
|
||||
|
Reference in New Issue
Block a user