Neutral Political Machine
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

tinper-sparrow

3.2.4 • Public • Published

tinper sparrow

npm version Build Status devDependency Status NPM downloads

中文文档

Introduction

sparrow.js is a front-end base library, which contains the basic operation of DOM, browser and device judgments, Cookies operations, as well as the browser's own function expansion, etc..

Quickstart

Get sparrow

  • npm
    npm install tinper-sparrow
  • cdn
    //design.yonyoucloud.com/static/tinper-sparrow/latest/tinper-sparrow.js

Introducing sparrow

  • ES6
import { sparrow} from "tinper-sparrow"

  • HTML
    <script src="//design.yonyoucloud.com/static/jquery/jquery-1.11.2.js"></script>
    <script src="//design.yonyoucloud.com/static/tinper-sparrow/latest/tinper-sparrow.js"></script>

Note: sparrow is dependent on jQuery

Use

    sparrow.isIE //IE browser returns true, others return to false

    sparrow.isDate(new Date()); //Date Object returns true, others return to false

Read the Develop documentation

Contributing

Develop

Developers can participate in the development of sparrow, but also can be based on sparrow two development

clone:

$ git clone git@github.com:iuap-design/tinper-sparrow.git

install:

$ npm install

build:

$ npm run product

Feedback

If you encounter any problems , submit [issues]((https://github.com/iuap-design/tinper-sparrow/issues),or pull request。

install

npm i tinper-sparrow

Downloadsweekly downloads

36

version

3.2.4

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability