trnct

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

Usage no npm install needed!

<script type="module">
  import trnct from 'https://cdn.skypack.dev/trnct';
</script>

README

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