@toolmain/shared

v1.3.3

Published

utility toolkit collections

Readme

@toolmain/shared

convient and utility toolkit collections base on vue or element-plus.

Install

pnpm add @toolmain/shared

šŸ“š Usage

import { px, localImg, msg } from "@toolmain/shared"

or if you want to overview all tools, just use like following:

import * as tool from "@toolmain/shared"
const pixel = tool.px(10)

if you want auto completion, you can update your tsconfig.json or jsconfig.json:

"compilerOptions": {
  "types": ["@toolmain/shared"],
},

šŸ”Ž Overview

clone the core monorepo

git clone https://github.com/evilArsh/toolmain.git

install dependencies

pnpm i

start playground overview project

pnpm run dev

to test all hooks,functions and other components, just enter playground/ diectory and use !

directory structure

root/
ā”œā”€ā”€ element/
│   ā”œā”€ā”€ element-plus toolkit collections
ā”œā”€ā”€ hooks/
│   ā”œā”€ā”€ vue hooks collections
ā”œā”€ā”€ misc/
│   ā”œā”€ā”€ miscellaneous convient functions collections
ā”œā”€ā”€ type/
│   ā”œā”€ā”€ common types definitions
ā”œā”€ā”€ README.md
└── package.json

šŸ‘ Contributing

Pull requests are welcome

šŸ“ License

MIT