You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the next major version, I'd like to simplify this tool a lot, and make it more explicit about being for low-level case transformations, and remove some of the more magic-y things it tries to do...
Rename slug case to kebab case, to be clear that it is concerned purely with the casing style where words are separated by - dashes. And that it's not really ideal for creating "slugs", which you might want to have your own set of rules (eg. you might want to allow _, strip accented characters, etc.).
Remove title and sentence case, which are more than pure programming case transformations, since they care about grammar and punctuation.
Bring all of the separate packages into a single package, and use an export system similar to Lodash, so that people can import toCamel from 'to-case/camel' if they need to have super tiny bundles. But it should be fairly small already.
Remove the add method, since it's not great to add to a global like that. People should be making their own wrappers if they really want to do custom stuff.
The text was updated successfully, but these errors were encountered:
For the next major version, I'd like to simplify this tool a lot, and make it more explicit about being for low-level case transformations, and remove some of the more magic-y things it tries to do...
Rename
slug
case tokebab
case, to be clear that it is concerned purely with the casing style where words are separated by-
dashes. And that it's not really ideal for creating "slugs", which you might want to have your own set of rules (eg. you might want to allow_
, strip accented characters, etc.).Remove
title
andsentence
case, which are more than pure programming case transformations, since they care about grammar and punctuation.Bring all of the separate packages into a single package, and use an export system similar to Lodash, so that people can
import toCamel from 'to-case/camel'
if they need to have super tiny bundles. But it should be fairly small already.Remove the
add
method, since it's not great to add to a global like that. People should be making their own wrappers if they really want to do custom stuff.The text was updated successfully, but these errors were encountered: