You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Lei OT 0fc4faae9c merge: 从 dashboard, commons.js; `empty` -> `emptyValue` 4 months ago
build init: commons, request 4 months ago
dist init: commons, request 4 months ago
src merge: 从 dashboard, commons.js; `empty` -> `emptyValue` 4 months ago
.babelrc init: commons, request 4 months ago
.gitignore init: commons, request 4 months ago
.npmignore init: commons, request 4 months ago
README.MD init: commons, request 4 months ago
package-lock.json init: commons, request 4 months ago
package.json init: commons, request 4 months ago

README.MD

@haina/npm

可复用的 npm 模块
支持 ESM(import) 和 CommonJS(require)

📦 Installation

npm install http://xxxx/npm/haina-npm-0.1.0.tgz

🚀 Usage

// Import everything
import { commons, request } from '@haina/npm';

// Import only common utilities
import { isEmpty } from '@haina/npm/esm/utils/commons.js';

// Import only request utilities
import { fetchJSON } from '@haina/npm/esm/utils/request.js';