From 505bd2eda903fc8e1fbbf0deb38d6ff13e3d9b43 Mon Sep 17 00:00:00 2001 From: Rastislav Date: Mon, 24 Oct 2022 23:41:17 +0200 Subject: [PATCH] Changed name --- .github/ISSUE_TEMPLATE/config.yml | 4 +-- README.md | 30 +++++++++---------- ...re-unit-converter => core-units-converter} | 0 extension/moz/manifest.json | 4 +-- package.json | 14 ++++----- 5 files changed, 26 insertions(+), 26 deletions(-) rename bin/{core-unit-converter => core-units-converter} (100%) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 3a1b89a..0f3fe57 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -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 diff --git a/README.md b/README.md index bdb0bcd..f0d5d0c 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## Install ```bash -npm i core-unit +npm i core-units ``` ## Getting started @@ -11,7 +11,7 @@ npm i core-unit 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)) ``` @@ -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)) ``` @@ -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 @@ -109,7 +109,7 @@ tether 0.00000000001 ``` ```bash -$ core-unit 30 nucle +$ core-units 30 nucle wei 30000000000 kwei 30000000 @@ -125,13 +125,13 @@ 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 ``` @@ -139,7 +139,7 @@ $ core-unit 30 nucle core Piping value example: ```bash -$ echo 1000000000000000000 | core-unit ore core +$ echo 1000000000000000000 | core-units ore core 1 ``` @@ -147,19 +147,19 @@ $ echo 1000000000000000000 | core-unit ore core 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 ``` @@ -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 diff --git a/bin/core-unit-converter b/bin/core-units-converter similarity index 100% rename from bin/core-unit-converter rename to bin/core-units-converter diff --git a/extension/moz/manifest.json b/extension/moz/manifest.json index 567b771..09c39d8 100644 --- a/extension/moz/manifest.json +++ b/extension/moz/manifest.json @@ -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" }, diff --git a/package.json b/package.json index acdc611..d1f24ee 100644 --- a/package.json +++ b/package.json @@ -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/*", @@ -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", @@ -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",