Neologistic Paraphasic Mumbling

npm

Need private packages and team management tools?Check out npm Orgs. »

@pelevesque/change-number-base

0.0.4 • Public • Published

Build Status Coverage Status JavaScript Style Guide

change-number-base

Converts a number from one base to another.

Node Repository

https://www.npmjs.com/package/@pelevesque/change-number-base

Installation

npm install @pelevesque/change-number-base

Tests

Standard Style & Unit Tests

npm test

Unit Tests & Coverage

npm run cover

Usage

const changeNumberBase = require('@pelevesque/change-number-base')
const num = 102
const initialBase = 3
const newBase = 10
const result = changeNumberBase(num, initialBase, newBase)
// result === 11

install

npm i @pelevesque/change-number-base

Downloadsweekly downloads

0

version

0.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability