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

tiny-case

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-case - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

index.d.ts

@@ -1,25 +0,15 @@

import type { CamelCase, DelimiterCase, PascalCase, SnakeCase } from 'type-fest'
export function words(str: string): string[]
export function upperFirst<T extends string>(str: T): Capitalize<T>
export function upperFirst(str: string): string
export function camelCase<T extends string>(str: T): CamelCase<T>
export function camelCase(str: string): string
export function pascalCase<T extends string>(str: string): PascalCase<T>
export function pascalCase(str: string): string
export function snakeCase<T extends string>(str: string): SnakeCase<T>
export function snakeCase(str: string): string
export function kebabCase<T extends string>(str: string): SnakeCase<T>
export function kebabCase(str: string): string
export function sentenceCase<T extends string>(
str: string,
): Capitalize<DelimiterCase<T, ' '>>
export function sentenceCase(str: string): string
export function titleCase(str: string): string

7

package.json
{
"name": "tiny-case",
"version": "1.0.0",
"version": "1.0.1",
"description": "Tiny Casing utils",

@@ -8,6 +8,3 @@ "main": "index.js",

"author": "Jason Quense",
"license": "MIT",
"optionalDependencies": {
"type-fest": "^0.20.2"
}
"license": "MIT"
}
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