/code

@codinasion/code

Primary LanguageTypeScriptOtherNOASSERTION

@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