Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 697 Bytes

README.md

File metadata and controls

44 lines (32 loc) · 697 Bytes

Javascript Library Skeleton

Runs All Unit tests

This is a skeleton for a Javascript library.

Build

npm install
npm run build

Usage

Module Usage

import { inspire } from "myLibrary";

console.log(inspire());

Browser Usage

<!DOCTYPE html>
<html>
  <head>
    <script src="myLibrary.js"></script>
  </head>
  <body>
    <script>
      console.log(myLibrary.inspire());
    </script>
  </body>
</html>

Installation

npm install myLibrary