Skip to content

divriots/studio-matter-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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"];