Coder Social home page Coder Social logo

cuongndc / diana Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 256 KB

πŸ‘ΈπŸ» Easy way to create πŸ†” unique ids.

Home Page: https://www.npmjs.com/package/diana-js

License: MIT License

TypeScript 100.00%
unique-id uid id npm typescript javascript nodejs diana diana-js 103cuong

diana's Introduction

diana

πŸ‘ΈπŸ» Easy way to create πŸ†” unique ids.

All Contributors Build Status npm npm david Hits-of-Code GitHub

🧰 installation

yarn add diana-js

πŸ§‘πŸ»β€πŸ’» usage

import { diana } from 'diana-js';
console.log(diana());

🌳 API

diana(length:? number): string // default length is 16

🀝 contributors

Thanks goes to these wonderful people (emoji key):

Cuong Duy Nguyen
Cuong Duy Nguyen

πŸ’» πŸ“– ⚠️ πŸ‘€

This project follows the all-contributors specification. Contributions of any kind welcome!

πŸ”– license

MIT Β© Cuong Tran

diana's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

diana's Issues

Complete setup TypeScript

Motivation

To have an environment to develop thinid with TypeScript.

Accept criteria

  • TypeScript.
  • Jest.
  • TSLint.
  • Prettier.
  • Travis.

Update README.md file

Motivation

To have awesome README.md file for users.

Acceptance criteria

  • Introduction, motivation
  • Installation
  • Usage
  • Contributors
  • License

Improve usage

Motivation

To have an easy way to use thinid.

Acceptance criteria

Using

const thinid = require('thinid');

Instead of

const thinid = require('thinid').default;

Support ES5

Motivation

Support ES5 for some Node framework: Express, Sails,...

`length` option for thinid

Motivation

To have parameter options for thinid.

Acceptance criteria

  • length
thinid(10) //=> "54tud-a512b"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.