Socket
Socket
Sign inDemoInstall

to-no-case

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    to-no-case

Convert a string to no case.


Version published
Maintainers
1
Install size
117 kB
Created

Readme

Source

to-no-case

Remove an existing case from a string.

Installation

$ npm install to-no-case
$ component install ianstormtaylor/to-no-case

Example

var clean = require('to-no-case');

clean('camelCase');       // "camel case"
clean('snake_case');      // "snake case"
clean('slug-case');       // "slug case"
clean('Title of Case');   // "title of case"
clean('Sentence case.');  // "sentence case."

API

toNoCase(string)

Returns the string with an existing case removed.

License

MIT

Keywords

FAQs

Last updated on 02 Oct 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc