Add node-fetch [skip ci]
This commit is contained in:
1
package-lock.json
generated
1
package-lock.json
generated
@@ -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",
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user