Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0 #8

Open
ianstormtaylor opened this issue Jul 13, 2017 · 0 comments
Open

3.0 #8

ianstormtaylor opened this issue Jul 13, 2017 · 0 comments

Comments

@ianstormtaylor
Copy link
Owner

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.

@ianstormtaylor ianstormtaylor changed the title 2.0 3.0 Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant