4.0.0 • Published 2 years ago

constant-case v4.0.0

Weekly downloads
2,858,962
License
MIT
Repository
github
Last release
2 years 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-1374web-elements-iconswpp-generatesuperset-plugin-chart-hello-world2voodoo-opt@cloudnoa/configurator@cvortex-design/dstokens@poscredit/plugin-chart-borisjoi-config-generatorjoyent-cp-frontendjson-config-generatortypeconftrung-cli@asiz33/smartblok-vendure-plugin@arielapaula/components@arielapaula/test@airship/airfoil@batbayar/superset-plugin-chart-hello-world@bett3r-dev/server-utils@bilt/build-with-configuration@carllewi2/sapcdc-ally-driverzwen-reactwebql-codegen-cliwebql-codegen-plugin-helpersts-graphql@dword-design/dotenv-json-extended@fevo-tech/graphql-codegen-cli@fevo-tech/graphql-codegen-plugin-helpers@fhaladin/vuex-generator@flstk/pg@flstk/pg-core@golocalinteractive/storage-essentials-components@iteam/config@manuellg92/javascript-ts-serializer@mariomui/cans@nanopang/nqmo-codegen@nirin100/quadratic-protocol@nirin100/quadratic-sdk@faizanhaider/iconsax@midwayjs/cli-plugin-generator@mod-cli/mod-react-plugin@mod-cli/nextjs-redux-example-plugin@koakh/nestjs-package-jwt-authentication-ldap@odata2ts/odata2model@omegasoft/typeconf@rem.tools/nuxt-ory@reworkjs/redux@reworkjs/reworkjs@panacea/holon-cli@rgbdev/change-casemy-joy-betamy-joy-instancesnabla-pg-corenuxt-baseshoppantry-design-tokensreact-native-app-registry-components-to-constantss.u.a.inew-project-clinconf-camel-casedpixiu-swap-corepixiuswap-libs-sdkplugin-chart-ftthplugin-helloqudratic-uiquadratic-sdkservices-configshops-commongitpod-env-per-projectgrunt-angular-eha-fixtureshybridconfigknooq@web-beest/rivm-design-tokens@wix/motion-edm-autogen-transformations@wix/motion-edm-autogen-transformations-core@wxcloud/cli@twilio-labs/netlify-okta-auth@tmcw/graphql-codegen-cli@types/constant-case@txo/redux@theguild/federation-composition@zalastax/nolb-const@zionappsupport/coreadonis-ally-figmababel-plugin-s2s-d-action-constantsbabel-plugin-s2s-d-action-createrbabel-plugin-s2s-d-action-testsbabel-plugin-s2s-d-action-typesaristeidesapi-scaffoldercomponent-creator-cliconfig-promptciphenvcreate-zee-appblockly-local-variablebanzai-style-dictionary-testbrainyduckcaddy-templatify-configbsa-react-clidohun
4.0.0

2 years ago

3.0.4

5 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.0

9 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

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