JSPM

  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q57631F
  • License ISC

JavaScript 常用函数库

Package Exports

  • js-xxx
  • js-xxx/es/index.js
  • js-xxx/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (js-xxx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

JavaScript 常用函数库

OSCS Status

封装常用函数,支持按需引入;无依赖和第三方库,无冗余代码,无需改动原代码结构;拆箱即用,简单便捷。

Install

npm i js-xxx

Use

// Es or Node
import { xFunctionName } from 'js-xxx';
const { xFunctionName } = require('js-xxx');
xFunctionName();

// Browser
<script src="/iife/index.min.js"></script>
$xxx.xFunctionName();

Docs

Others