Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

codinasion-archive/code

Repository files navigation

@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