Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ant-util

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ant-util

ant工具组件

  • 1.3.5
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

Ant Util

a javascript function expressions util including practical function.

Features

  • an javascript util handle function,object,array,etc.
  • written in function expressions style.
  • simple test case ant rich api document.

Environment Support

  • Browser: Modern browsers support ecmascript 5

Install

npm install ant-util --save

Usage

import util from 'ant-util'
const { map } = util

map({ name: 'ant', age: 13 }, (value, key) => `my ${key} is ${value}`)

// => {name: 'my name is ant', age: 'my age is 13'}

Ant import style manually:

import { map } from 'ant-util/lib/object'

Development

$ git clone https://github.com/antgod/ant-util.git
$ cd ant-util && npm install

API Usage(to be continue)

  • functions

  • array

  • object

  • string

  • exist

  • dom

  • url

  • assert

  • if

FAQs

Package last updated on 21 Nov 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc