Socket
Socket
Sign inDemoInstall

path-case

Package Overview
Dependencies
1
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    path-case

Transform into a lower case string with slashes between words


Version published
Weekly downloads
6.5M
decreased by-0.02%
Maintainers
1
Install size
10.4 kB
Created
Weekly downloads
 

Readme

Source

Path Case

Transform into a lower case string with slashes between words.

Installation

npm install path-case --save

Usage

import { pathCase } from "path-case";

pathCase("string"); //=> "string"
pathCase("dot.case"); //=> "dot/case"
pathCase("PascalCase"); //=> "pascal/case"
pathCase("version 1.2.10"); //=> "version/1/2/10"

The function also accepts options.

License

MIT

Keywords

FAQs

Last updated on 30 Sep 2023

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