word-count-object

Count the number of words in a given string.

Usage no npm install needed!

<script type="module">
  import wordCountObject from 'https://cdn.skypack.dev/word-count-object';
</script>

README

WordCounting

CircleCI

Count the number of words in a given string.

Install

$npm install wordCounting

Usage

const wordCounting = require('wordCounting');

wordCounting('SOME STRING') // --> 2