tkid

0.0.5 • Public • Published

TkID

TkID is an easy way to generate tokens or IDs.

Usage in browsers

<!DOCTYPE html>
<html>
  <head>
    <script src="https://cdn.jsdelivr.net/npm/tkid/index.js"></script>
  </head>
  <body>
    <script>
      // generate a random token
      const token = tk();
    </script>
  </body>
</html>

Usage in Node.js

Install:

npm i tkid

Use:

const tk = require('tkid');

// generate a random token
const token = tk();

Readme

Keywords

none

Package Sidebar

Install

npm i tkid

Weekly Downloads

0

Version

0.0.5

License

BSD-2-Clause

Unpacked Size

2.38 kB

Total Files

4

Last publish

Collaborators

  • romw314