Add node-fetch [skip ci]

This commit is contained in:
lowlighter
2021-06-04 20:14:31 +02:00
parent 00107f93cf
commit aa9839ea40
3 changed files with 4 additions and 1 deletions

1
package-lock.json generated
View File

@@ -27,6 +27,7 @@
"marked": "^2.0.4", "marked": "^2.0.4",
"memory-cache": "^0.2.0", "memory-cache": "^0.2.0",
"node-chartist": "^1.0.5", "node-chartist": "^1.0.5",
"node-fetch": "^2.6.1",
"open-graph-scraper": "^4.8.2", "open-graph-scraper": "^4.8.2",
"png-js": "^1.0.0", "png-js": "^1.0.0",
"prismjs": "^1.23.0", "prismjs": "^1.23.0",

View File

@@ -43,6 +43,7 @@
"marked": "^2.0.4", "marked": "^2.0.4",
"memory-cache": "^0.2.0", "memory-cache": "^0.2.0",
"node-chartist": "^1.0.5", "node-chartist": "^1.0.5",
"node-fetch": "^2.6.1",
"open-graph-scraper": "^4.8.2", "open-graph-scraper": "^4.8.2",
"png-js": "^1.0.0", "png-js": "^1.0.0",
"prismjs": "^1.23.0", "prismjs": "^1.23.0",

View File

@@ -20,10 +20,11 @@ import git from "simple-git"
import twemojis from "twemoji-parser" import twemojis from "twemoji-parser"
import url from "url" import url from "url"
import util from "util" import util from "util"
import fetch from "node-fetch"
prism_lang() prism_lang()
//Exports //Exports
export {axios, fs, git, jimp, opengraph, os, paths, processes, rss, url, util} export {axios, fs, git, jimp, opengraph, os, paths, processes, rss, url, fetch, util}
/**Returns module __dirname */ /**Returns module __dirname */
export function __module(module) { export function __module(module) {