A collection of useful TypeScript code snippets.
See the functions and sample code snippets online at code.codinasion.org
# 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
import { DecimalToBinary } from "@codinasion/code";
const decimal = 128;
const binary = DecimalToBinary(decimal);
console.log(binary);
// Output
// 10000000
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.
|
Made with 💖 by Codinasion