SnipNest
SnippetsExtensionsGitHub

Categories

Array5Color3Date2Math4Number7String11Web Storage8
  1. Snippets
  2. JavaScript
  3. String

Acronym

Creates an acronym from a string by taking the first letter of each word and capitalizing it.

Capitalize Words

Capitalizes the first letter of each word in a string, also known as title casing.

Get Link Extension

Extracts the file extension from a given URL, if present.

Is Palindrome

Determine whether a string is a palindrome.

Validate PAN Number

Validate whether a given string is a valid Indian PAN card number.

To Camel Case

Converts a string to camel casing. For example, 'hello world' becomes 'helloWorld'.

To Kebab Case

Converts a string to kebab casing. For example, 'hello world' becomes 'hello-world'.

To Pascal Case

Converts a string to pascal casing. For example, 'hello world' becomes 'HelloWorld'.

To Path Case

Converts a string to path casing. For example, 'hello world' becomes 'hello/world'.

To Snake Case

Converts a string to snake casing. For example, 'hello world' becomes 'hello_world'.

Truncate

Truncates a string to a specified length.

SnipNest

Open-source code snippet collection

SnipNest

AboutRepositoryLicense

Docs

APIContributing
Built by Bruno and the contributors.