Socket
Book a DemoInstallSign in
Socket

feu

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feu

> Font-End Utils 前端工具类库

latest
Source
npmnpm
Version
0.0.13
Version published
Maintainers
1
Created
Source

FEU

Font-End Utils 前端工具类库

!> 这还是一个非常简单的版本,api可能会随时有变动,也可能潜在很大的风险/bug,建议拿来学习参考

以后会发布0.1.0正式版

  • 当前处于测试版本
  • 兼容仅限于chrome >= 40、IE >= 9

Docs

Language:

Usage

为了兼容ie <= 11, chrome < 45,无论使用哪种方式引入,都需要在项目里提前引入babel-polyfill

<!-- example -->
<script src="//cdn.bootcss.com/babel-polyfill/7.0.0-beta.3/polyfill.min.js"></script>

Npm

推荐使用,以便获得ide的智能提示

Install(注意,仅能用于前端项目)

$ npm install --save feu

Include

var feu = require('feu')
feu.doSomething()

Browser

下载/dist/feu.min.js,遵循umd模块规范

<script src="feu.min.js"></script>
<script>
  feu.doSomething()
</script>引入项目

Dev

Build

$ npm run build

Test

mocha-phantomjs、chai

$ npm run test

FAQs

Package last updated on 23 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts