4.0.0 • Published 7 months ago

constant-case v4.0.0

Weekly downloads
2,858,962
License
MIT
Repository
github
Last release
7 months ago

Constant Case

Transform into upper case string with an underscore between words.

Installation

npm install constant-case --save

Usage

import { constantCase } from "constant-case";

constantCase("string"); //=> "STRING"
constantCase("dot.case"); //=> "DOT_CASE"
constantCase("PascalCase"); //=> "PASCAL_CASE"
constantCase("version 1.2.10"); //=> "VERSION_1_2_10"

The function also accepts options.

License

MIT

@prodam/prodam-types@everything-registry/sub-chunk-1374zwen-react@golocalinteractive/storage-essentials-components@manuellg92/javascript-ts-serializer@mariomui/cansflux-resource-martyeslint-plugin-commonjs-require-case@koakh/nestjs-package-jwt-authentication-ldapfaugrafeathers-action-types@mod-cli/mod-react-plugin@mod-cli/nextjs-redux-example-plugin@omegasoft/typeconf@odata2ts/odata2model@odata2ts/odata2tsgrunt-angular-eha-fixtures@midwayjs/cli-plugin-generator@nanopang/nqmo-codegengenerator-react-porn@nirin100/quadratic-protocol@nirin100/quadratic-sdkgestalt-graphqlgestalt-graphql-testgitpod-env-per-project@dword-design/dotenv-json-extendedhybridconfig@rgbdev/change-case@reworkjs/redux@reworkjs/reworkjs@rem.tools/nuxt-ory@poscredit/plugin-chart-boris@iteam/configenvfefe@panacea/holon-cli@fevo-tech/graphql-codegen-cli@fevo-tech/graphql-codegen-plugin-helpers@fhaladin/vuex-generator@faizanhaider/iconsaxjson-config-generator@shieldsbetter/sberror@shieldsbetter/sberror2joi-config-generatorjoyent-cp-frontend@soyjak/utils@flstk/pg@flstk/pg-core@tmcw/graphql-codegen-cli@theguild/federation-compositionnabla-pg-corebanzai-style-dictionary-test@bilt/build-with-configurationblockly-local-variablemy-joy-betamy-joy-instances@arielapaula/components@arielapaula/testbabel-plugin-s2s-d-action-constantsbabel-plugin-s2s-d-action-createrbabel-plugin-s2s-d-action-testsbabel-plugin-s2s-d-action-types@batbayar/superset-plugin-chart-hello-world@twilio-labs/netlify-okta-auth@txo/redux@types/constant-casecaddy-templatify-config@cvortex-design/dstokens@asiz33/smartblok-vendure-pluginaristeidesadonis-ally-figma@cloudnoa/configurator@bett3r-dev/server-utilsnconf-camel-casednew-project-cli@wix/motion-edm-autogen-transformations@wix/motion-edm-autogen-transformations-core@wxcloud/cli@zionappsupport/core@airship/airfoilknooq@superset-plugins-sm/superset-plugin-chart-hello-world@zalastax/nolb-constapi-scaffoldercomponent-creator-clipantry-design-tokensbsa-react-clicreate-zee-appqudratic-uiquadratic-sdkreact-native-app-registry-components-to-constantsconfig-promptpixiu-swap-corepixiuswap-libs-sdkciphenvdotsecdohunservices-configbrainyduck@carllewi2/sapcdc-ally-driversuperset-plugin-chart-hello-world2
4.0.0

7 months ago

3.0.4

3 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.0

8 years ago

1.1.2

8 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

10 years ago

0.1.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago