suffixFrom
Get suffix from string - by splitter.
Usage: suffixFrom(subject: string, splitter: string | RegExp): string
import { suffixFrom } from 'suffix-from'
suffixFrom(`a/b/cd `, `/`)
// Output: 'cd'
This module exported from utilizes project.
Get suffix from string - by splitter.
Usage: suffixFrom(subject: string, splitter: string | RegExp): string
import { suffixFrom } from 'suffix-from'
suffixFrom(`a/b/cd `, `/`)
// Output: 'cd'
This module exported from utilizes project.
npm i suffix-from
0
1.0.2
MIT
2.64 kB
5