1.1.16 • Published 2 years ago

ele-utility v1.1.16

Weekly downloads
130
License
MIT
Repository
-
Last release
2 years ago

简体中文 | English

ELE UTILITY

Elegent & utility methods to facilitate common usage in JavaScript!

🤩 This repo was generated from Y-lonelY/npm-template/pure, if you want to try you own npm packages you can start from that!

Install

run npm install ele-utility --save or yarn add ele-utility

Quick Start

Here's a quick demostration:

import { geuuid } from 'ele-utility'

// generate a uuid
// -> "34523bf2-ce6a-42ec-803f-3e4b2a192a36" 
const u = geuuid()

Why named export?

  1. Module is a namespace. Default export often leads to function/component per file dogma and makes code less maintainable.
  2. Interop with commonjs is broken in many cases or hard to maintain.
  3. Show me any good language with default exports. It's historical javascriptism.

API

✨ See more usages at API Docs

Develop

Clone the repo and run npm install to init the project!

After you have done some work, just run npm run build to generate the project, and all output will be found at ./npm

Solo with code!

1.1.7

2 years ago

1.1.16

2 years ago

1.1.15

3 years ago

1.1.12

3 years ago

1.1.11

3 years ago

1.1.14

3 years ago

1.1.13

3 years ago

1.1.10

3 years ago

1.1.8

3 years ago

1.1.6

3 years ago

1.1.1

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.20

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.9

3 years ago

1.0.7

3 years ago

1.0.5

3 years ago

1.0.6

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago