https://github.com/afeiship/next-classify
Converts string to camelized class name. First letter is always upper case.
https://github.com/afeiship/next-classify
classify pascal-case string
Last synced: 5 months ago
JSON representation
Converts string to camelized class name. First letter is always upper case.
- Host: GitHub
- URL: https://github.com/afeiship/next-classify
- Owner: afeiship
- License: mit
- Created: 2017-09-19T09:31:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-05-25T13:10:42.000Z (over 2 years ago)
- Last Synced: 2025-05-22T22:09:52.703Z (8 months ago)
- Topics: classify, pascal-case, string
- Language: JavaScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-classify
> Converts string to camelized class name. First letter is always upper case.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```bash
npm install -S @jswork/next-classify
```
## usage
```js
import '@jswork/next-classify';
nx.classify('font.size.small'); //FontSizeSmall
```
## license
Code released under [the MIT license](https://github.com/afeiship/next-classify/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/next-classify
[version-url]: https://npmjs.org/package/@jswork/next-classify
[license-image]: https://img.shields.io/npm/l/@jswork/next-classify
[license-url]: https://github.com/afeiship/next-classify/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-classify
[size-url]: https://github.com/afeiship/next-classify/blob/master/dist/next-classify.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next-classify
[download-url]: https://www.npmjs.com/package/@jswork/next-classify