all-your-base
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "all-your-base", | ||
"version": "0.2.0", | ||
"description": "convert from/to binary, hexadecimal, decimal values", | ||
"version": "0.2.1", | ||
"description": "convert from/to binary, octal, hexadecimal, decimal values", | ||
"preferGlobal": false, | ||
"main": "./index.js", | ||
"bin": { | ||
"ayb": "./cli.js" | ||
}, | ||
"scripts": { | ||
"test": "mocha test/*.js" | ||
}, | ||
"keywords": [ | ||
@@ -12,3 +19,6 @@ "base converter", | ||
"decimal", | ||
"octal" | ||
"octal", | ||
"converter", | ||
"conversion", | ||
"radix" | ||
], | ||
@@ -20,2 +30,3 @@ "author": { | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
@@ -27,10 +38,3 @@ "type": "git", | ||
"mocha": "*" | ||
}, | ||
"preferGlobal": false, | ||
"scripts": { | ||
"test": "mocha test/*.js" | ||
}, | ||
"bin": { | ||
"ayb": "./cli.js" | ||
} | ||
} |
Convert from one base to another | ||
#####Supported bases | ||
##### Supported bases | ||
@@ -12,11 +12,11 @@ | base/radix | name | module's abbr. | | ||
##Installation | ||
## Installation | ||
`npm install all-your-base` | ||
##Usage | ||
## Usage | ||
Use this in your own scripts and/or as a stand-alone command-line tool. | ||
###From a script | ||
### From a script | ||
@@ -26,3 +26,3 @@ `decToBin(22);` | ||
#####Parameter data types | ||
##### Parameter data types | ||
@@ -32,9 +32,9 @@ to convert from decimal, pass in a non-negative integer | ||
###As command line tool | ||
### As command line tool | ||
#####Install as command line tool | ||
##### Install as command line tool | ||
`npm link` from your local repo's root. The executable is named `ayb`. | ||
#####From command line | ||
##### From command line | ||
@@ -46,3 +46,3 @@ `ayb decToBin 65536` | ||
###List of all operations | ||
### List of all operations | ||
@@ -79,3 +79,3 @@ Here's an exhaustive list for your reference. | ||
###Helpful links | ||
### Helpful links | ||
@@ -82,0 +82,0 @@ Learn more about different bases. |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
23374
0