npm.io
1.0.0 • Published 7 years ago

trnct

Licence
MIT
Version
1.0.0
Deps
0
Size
5 kB
Vulns
0
Weekly
0
Stars
4

trnct

build status install size npm package version github license js semistandard style

Truncate vowels ~ e

forthebadge forthebadge

Instalation

$ npm install trnct

Usage

const trnct = require('trnct');
trnct('vowels');
//=> 'vwls'

API

Table of Contents
trnct

Truncate all specified vowels from given word unless it is the first character

Parameters
Examples
trnct('extension');
//=> 'extnsn'
trnct('extension', 'ei');
//=> 'extnson'

Returns String truncated string

Keywords