5.0.0 • Published 6 years ago

@cagataysert/nameconverter v5.0.0

Weekly downloads
5
License
MIT
Repository
-
Last release
6 years ago

Name Converter Twitter

Name converter is a basic tool which is useful to change format of variable names.

Installation

Use the package manager npm to install Name Converter.

npm install nameconverter

Usage

import Converter from "converter";

converter.toSnake('fooBar') # returns 'foo_bar'
converter.toSnake('foo-bar') # returns 'foo_bar'

converter.toCamel('foo_bar') # returns 'fooBar'
converter.toCamel('foo-bar') # returns 'fooBar'

converter.toCapital('foo_bar') # returns 'Foobar'
converter.toCapital('foo-bar') # returns 'Foobar'

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Also you contact with me from my twitter account.

ps: It's my first npm package, be kind please :)

License

MIT

5.0.0

6 years ago

4.0.0

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago