trnct

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

MIT License

Downloads
27
Stars
4

trnct

Truncate vowels ~ eℹ️🅾️

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

Package Rankings
Top 25.98% on Npmjs.org
Badges
Extracted from project README
build status install size npm package version github license js semistandard style forthebadge forthebadge