README
Template ES Module
This is a template for creating ES Module
Table of Contents
Install
This project uses npm. Go check them out if you don't have them locally installed.
$ npm install --save template-module-ts
// using ES6 modules
import { countLetter } from "@wcd/template-module-ts";
or
<script type="module" src="https://unpkg.com/@wcd/template-module-ts"></script>
Usage
import { countLetter } from "@wcd/template-module-ts";
const hello_world_count = countLetter("Hello world");
// get count of a particular letter
hello_world_count["w"];