You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

dot-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

dot-case

Transform into a lower case string with a period between words


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

Package description

What is dot-case?

The dot-case npm package is used to convert strings into dot case, where each word or abbreviation in the string is separated by a dot (period). This is often used for creating names that are consistent with certain coding conventions or configurations where dot notation is preferred.

What are dot-case's main functionalities?

Convert string to dot case

This feature takes a string and converts it to dot case. For example, 'hello world' would be converted to 'hello.world'.

"hello world".split(' ').join('.');

Other packages similar to dot-case

Readme

Source

Dot Case

Transform into a lower case string with a period between words.

Installation

npm install dot-case --save

Usage

import { dotCase } from "dot-case";

dotCase("string"); //=> "string"
dotCase("dot.case"); //=> "dot.case"
dotCase("PascalCase"); //=> "pascal.case"
dotCase("version 1.2.10"); //=> "version.1.2.10"

The function also accepts options.

License

MIT

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc