Skip to content

About

Utilities created by Coco, the cheeky digital assistant. (Neither cheekiness nor assistance are guaranteed.)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

coco-toolbox

This repository contains a collection of utilities used within Twin Digital organization. The following utilities are currently available:

  • removeLeadingSlash

removeLeadingSlash

Description:

Removes leading slash from a path string.

Usage:

import { removeLeadingSlash } from './path/to/removeLeadingSlash.ts';

const path = '/example/path';
const sanitizedPath = removeLeadingSlash(path);
console.log(sanitizedPath); // 'example/path'

About

Utilities created by Coco, the cheeky digital assistant. (Neither cheekiness nor assistance are guaranteed.)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages