Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

path-case

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-case

Transform into a lower case string with slashes between words

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.5M
decreased by-17.06%
Maintainers
1
Weekly downloads
 
Created

What is path-case?

The path-case npm package is used to convert strings to path case, which is a lowercase format with words separated by slashes. This is particularly useful for creating URL paths or file paths in a consistent format.

What are path-case's main functionalities?

Convert string to path case

This feature converts a given string to path case, where each word is separated by a slash and all characters are in lowercase.

const pathCase = require('path-case');
const result = pathCase('Hello World');
console.log(result); // Output: 'hello/world'

Other packages similar to path-case

Keywords

FAQs

Package last updated on 30 Sep 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc