Split filename to name and extions.
import { filenames } from '@mochen/yuumi';
filenames.parse('c.7z') // ['c', '7z'] filenames.parse('.ignore') // ['.ignore', ''] filenames.parse('abc'); // ['abc', ''] filenames.parse('1.0.1'); // ['1.0.1', ''] filenames.parse('a.ZIP'); // ['a', 'ZIP']
Generated using TypeDoc
Filenames
Split filename to name and extions.
import { filenames } from '@mochen/yuumi';