Skip to content

Commit

Permalink
Changed name
Browse files Browse the repository at this point in the history
  • Loading branch information
rastislavcore committed Oct 24, 2022
1 parent 7f7559e commit 505bd2e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Readme
url: https://github.com/cryptohub-digital/core-unit#readme
url: https://github.com/cryptohub-digital/core-units#readme
about: Read more about the code
- name: CLI tool
url: https://github.com/cryptohub-digital/core-unit#cli
url: https://github.com/cryptohub-digital/core-units#cli
about: Get information about the Command-line interface
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## Install

```bash
npm i core-unit
npm i core-units
```

## Getting started

Example №1

```js
const convert = require('core-unit')
const convert = require('core-units')
const result = convert(1, 'core')
console.log(JSON.stringify(result, null, 2))
```
Expand Down Expand Up @@ -41,7 +41,7 @@ Output:
Example №2

```js
const convert = require('core-unit')
const convert = require('core-units')
const result = convert(30, 'nucle')
console.log(JSON.stringify(result, null, 2))
```
Expand Down Expand Up @@ -81,19 +81,19 @@ console.log(convert(30, 'nucle', 'ore')) // 30000000000
Install

```bash
npm i -g core-unit
npm i -g core-units
```

### Getting started

```bash
$ core-unit {value} {unit}
$ core-units {value} {unit}
```

### Examples

```bash
$ core-unit 10 core
$ core-units 10 core

wei 10000000000000000000
kwei 10000000000000000
Expand All @@ -109,7 +109,7 @@ tether 0.00000000001
```

```bash
$ core-unit 30 nucle
$ core-units 30 nucle

wei 30000000000
kwei 30000000
Expand All @@ -125,41 +125,41 @@ tether 0.00000000000000000003
```

```bash
$ core-unit 1 core ore
$ core-units 1 core ore

1000000000000000000
```

```bash
$ core-unit 30 nucle core
$ core-units 30 nucle core

0.00000003
```

Piping value example:

```bash
$ echo 1000000000000000000 | core-unit ore core
$ echo 1000000000000000000 | core-units ore core

1
```

Using decimal numbers example:

```bash
$ core-unit 1000000 -6 core
$ core-units 1000000 -6 core

1
```

```bash
$ core-unit 1000000 -6 1
$ core-units 1000000 -6 1

1
```

```bash
$ core-unit 1 1 -6
$ core-units 1 1 -6

1000000
```
Expand All @@ -169,8 +169,8 @@ $ core-unit 1 1 -6
Feel free to contribute in any way.

We appreciate:
- Fork [this repository](https://github.com/cryptohub-digital/core-unit/fork)
- Open [pull request](https://github.com/cryptohub-digital/core-unit/pulls)
- Fork [this repository](https://github.com/cryptohub-digital/core-units/fork)
- Open [pull request](https://github.com/cryptohub-digital/core-units/pulls)
- Send us some Øres / ₡ores: [cb7147879011ea207df5b35a24ca6f0859dcfb145999](https://blockindex.net/address/cb7147879011ea207df5b35a24ca6f0859dcfb145999)
- Star this repository

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions extension/moz/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifest_version": 2,
"name": "Core Unit Converter",
"name": "Core Units Converter",
"version": "1.0.0",
"description": "The ₡ore Unit Converter",
"description": "The ₡ore Units Converter",
"icons": {
"48": "icons/core-48.png"
},
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "core-unit",
"name": "core-units",
"version": "1.0.0",
"description": "Core unit converter",
"description": "Core units converter",
"main": "dist/index.js",
"bin": {
"core-unit": "bin/core-unit-converter"
"core-units": "bin/core-units-converter"
},
"scripts": {
"lint": "standard --fix *.js test/*.js bin/*",
Expand All @@ -17,12 +17,12 @@
},
"repository": {
"type": "git",
"url": "https://github.com/cryptohub-digital/core-unit"
"url": "https://github.com/cryptohub-digital/core-units"
},
"bugs": {
"url": "https://github.com/cryptohub-digital/core-unit/issues"
"url": "https://github.com/cryptohub-digital/core-units/issues"
},
"homepage": "https://github.com/cryptohub-digital/core-unit#readme",
"homepage": "https://github.com/cryptohub-digital/core-units#readme",
"contributors": [
{
"name": "CRYPTO ▪ HUB",
Expand All @@ -36,7 +36,7 @@
],
"license": {
"type": "MIT",
"url": "https://github.com/cryptohub-digital/core-unit/blob/master/LICENSE"
"url": "https://github.com/cryptohub-digital/core-units/blob/master/LICENSE"
},
"keywords": [
"crypto",
Expand Down

0 comments on commit 505bd2e

Please sign in to comment.