@careteen/type

0.1.2 • Public • Published

type

license Build Status npm NPM downloads

English Document

JavaScript类型检查,弥补typeof不足

快速使用

npm i -D @careteen/type
import type from '@careteen/type'
type(null) // null
type(/a/) // regexp
type(new String('')) // string
type(new String(''), true) // String

更详细使用请查看API

兼容性

IE9+

使用文档

issue模板

贡献者及指南

clone仓库并引入依赖

git clone git@github.com:careteenL/type.git
npm install

开始开发:)

...

请编写单元测试覆盖所加功能

npm run test

启动本地服务器编写示例

npm run example

修改package.json README.md CHANGELOG.md版本号,再发布

npm run release

更新日志

计划

/@careteen/type/

    Package Sidebar

    Install

    npm i @careteen/type

    Weekly Downloads

    1

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    41.1 kB

    Total Files

    31

    Last publish

    Collaborators

    • careteen