@miclgael/use-helpers
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

use-helpers

Set of helper functions designed for use with Vue/React

Install

npm install --save-dev @miclgael/use-helpers

Usage example

import { useHelpers } from "@miclgael/use-helpers";
const { slugify } = useHelpers();

const slug = slugify("Stupidly long title with MIXed and special chars!@#$%");

console.log(slug); // "stupidly-long-title-with-mixed-and-special-chars"

Patching

If you're me (@miclgael) you can version bump on npm and github at the same time, with this command:

npm version [<newversion> | major | minor | patch] -m "chore: bump version to %s"
Example

e.g.

npm version patch -m "chore: bump version to %s"

Will bump from v0.0.1 to v0.0.2

more info at npm version docs

Note: pre-version, version and post-version scripts will also run.

Package Sidebar

Install

npm i @miclgael/use-helpers

Weekly Downloads

0

Version

0.0.19

License

MIT

Unpacked Size

13.4 kB

Total Files

15

Last publish

Collaborators

  • miclgael