This package has been deprecated

Author message:

This package is deprecated. Please use @luxass/utils instead

@luxass/luxals-string
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

@luxass/luxals-string

A collection of string utilities



📦 Install

$ npm install @luxass/luxals-string

🪄 Usage

import { concat } from "@luxass/luxals-string";

const isAllowed = true;

const classname = concat("w-full h-full bg-green-700 border", {
  "border-yellow-500": isAllowed,
  "border-red-500": !isAllowed
});
// isAllowed: "w-full h-full bg-green-700 border border-yellow-700"

Package Sidebar

Install

npm i @luxass/luxals-string

Weekly Downloads

2

Version

2.0.2

License

MIT

Unpacked Size

5.15 kB

Total Files

6

Last publish

Collaborators

  • luxass