0.1.1 • Published 7 months ago

tslx v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

tslx

npm version npm downloads bundle Codecov License JSDocs

This is my package description.

Usage

Install package:

# npm
npm install tslx

# yarn
yarn add tslx

# pnpm
pnpm install tslx

Import:

// ESM
import { cls } from "tslx";

// CommonJS
// const { cls } = require("tslx");

cls("foo", "bar", {
  "text-white": true,
  "bg-red": false,
});
// => "foo bar text-white"

Development

  • Clone this repository
  • Install latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

Acknowledgement

tslx is made possible thanks to the inspirations from the following projects:

  • clsx A tiny (228B) utility for constructing className strings conditionally.

License

Made with 💛

Published under MIT License.

0.0.10

10 months ago

0.1.0

10 months ago

0.0.3

12 months ago

0.1.1

7 months ago

0.0.2

12 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.1

12 months ago