Skip to content

Commit

Permalink
add: deno usage
Browse files Browse the repository at this point in the history
  • Loading branch information
eru123 committed Jun 21, 2021
1 parent 5d9afb5 commit 2669170
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,29 @@
Custom Number System

## Installation
### NPM or Yarn
```bash
npm i numesis

# OR

yarn add numesis
```
### Deno
import numesis module on your project directly
```js
import Numesis from 'https://deno.land/x/numesis/mod.ts'
```
## Usage
### With deno
```js
import Numesis from 'https://deno.land/x/numesis/mod.ts'

const n = new Numesis();

// Encode
const encoded = n.e(999); // output: P7Ct
```
### Basic
```js
const Numesis = require('numesis')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "numesis",
"version": "1.0.0",
"version": "1.0.1",
"description": "Custom Number System",
"main": "mod.js",
"scripts": {
Expand Down

0 comments on commit 2669170

Please sign in to comment.