load-resources

Load all JS/CSS files from site website

MIT 2 个版本
安装
npm install load-resources
yarn add load-resources
pnpm add load-resources
bun add load-resources
README

Load Resources Build Status

Load all JS/CSS files from site website.

var load = require('load-resources');

load('https://github.com/', '.css', function (css, url) {
    // All GitHub styles will be here
})

Also you can set a array of sites as first argument.

Third argument of callback will be boolean to indicate last file.

版本列表
0.1.1 2015-10-08
0.1.0 2015-05-14