@codinasion/code
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

@codinasion/code

A collection of useful TypeScript code snippets.

rainbow hr

Demo

See the functions and sample code snippets online at code.codinasion.org

rainbow hr

Installation

# if you're using pnpm
pnpm add @codinasion/code

# or, if you're using npm
npm install @codinasion/code

# or, if you're using yarn
yarn add @codinasion/code
rainbow hr

Usage

import { DecimalToBinary } from "@codinasion/code";

const decimal = 128;

const binary = DecimalToBinary(decimal);
console.log(binary);

// Output
// 10000000
rainbow hr

Join us in discussions

We use GitHub Discussions to talk about all sorts of topics related to documentation, issues, and PRs. For example: if you'd like help troubleshooting a PR, have a great new idea, or want to share something amazing, join us in the discussions.

rainbow hr

Thanks for contributing 💜

  • Thanks for all your contributions and efforts
  • We thank you for being part of our commUnity !
rainbow hr

Made with 💖 by Codinasion

rainbow hr

Package Sidebar

Install

npm i @codinasion/code

Weekly Downloads

1

Version

2.2.0

License

MIT

Unpacked Size

64.2 kB

Total Files

6

Last publish

Collaborators

  • harshraj8843