Set of helper functions designed for use with Vue/React
npm install --save-dev @miclgael/use-helpers
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"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.