New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

all-your-base

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

all-your-base - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

24

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc