5.0.0 • Published 2 years ago

camel-case v5.0.0

Weekly downloads
12,058,830
License
MIT
Repository
github
Last release
2 years ago

Camel Case

Transform into a string with the separator denoted by the next word capitalized.

Installation

npm install camel-case --save

Usage

import { camelCase } from "camel-case";

camelCase("string"); //=> "string"
camelCase("dot.case"); //=> "dotCase"
camelCase("PascalCase"); //=> "pascalCase"
camelCase("version 1.2.10"); //=> "version_1_2_10"

The function also accepts options.

Merge Numbers

If you'd like to remove the behavior prefixing _ before numbers, you can use camelCaseTransformMerge:

import { camelCaseTransformMerge } from "camel-case";

camelCase("version 12", { transform: camelCaseTransformMerge }); //=> "version12"

License

MIT

html-minifier-terserhtml-minifiercomponennenttvuedragdropuploadimages@ticruz38/graphql-codegen-svelte-apollo@vaju/generator-ts-npetchelon-gql-typescript-apollo-angular@jakeblaxon-graphql-mesh/grpc@jakeblaxon-graphql-mesh/mongoose@jakeblaxon-graphql-mesh/mysql@iharob/graphql-mesh-grpc@iharob/graphql-mesh-mongoose@iharob/graphql-mesh-mysqlcore-dibb-chatgatsby-source-prismic-api@sreekar2307/scaffold.js@deadcanaries/digletgraphql-codegen-sveltekangaxrnw-tailwind.macroempty-package-abcempty-package-abcd@l1nyanm1ng/react-picture-viewercthpb-plugin-socialkoalipcjs-api@plasmo-corp/web-ext-deployportman-lambda@eavios/nestjs-query-typeormminhtml@mediatool/mt-api-data-fetcher@mediatool/mt-mediaplanning-ui@mediatool/mt-reporting-ui@prodam/prodam-types@th-formily/shared@saaspe/componentshyperpass-sdkgatsby-source-strapi-schemagaius-event-sourcingsklif-ui-kitsklif-api@everything-registry/sub-chunk-1288p149-tablesklif-ui@wacoco/ytaman-baca-masyarakattarattarat-servertaxertbfe-clitask-promptsswiftui_extensionswagger-to-raml-objectswagger-http-routerwhois-lookup-parserweb-elements-iconsvue-button-test1webdesa-laravel-final-releasewebpack_component_fundwhoswhimsicalxecio-utiltealsuperset-plugin-chart-hello-world2stories-fsstarfish-apisvelte-app2svelte-component-libtfl-busboythemre-sienna-accessibilityvue-compmentvue-component-generatorv8-code-dump-parservexjs-apivue-cli-plugin-eruda@dimcheify/dimui@cssfn/cssfn@cubejs-client/playground@cvortex-design/dstokens@contentlayer-temp/core@contentlayer/core@contentlayer2/core@darwin-studio/ui-codegen@demiazz/brandon@defer/redwood@byndyusoft/pino-logger-factory@blkmarketco/components-library@beldore/react-otp-input@poscredit/plugin-chart-boris@runcapsule/graphql-codegen-typescript-react-apollocustom-react-app1custom-react-app2jesusdemojet-js-clijjb-lc-formilyjjb-lc-formily-sharedjulien-easy-modaljoyent-ui-toolkitisomorphic-react-boot
5.0.0

2 years ago

4.1.2

5 years ago

4.1.1

5 years ago

4.1.0

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.0.0

9 years ago

2.1.0

9 years ago

2.0.0

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.1.0

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago