Skip to content

Template to create javascript library

Notifications You must be signed in to change notification settings

cesargb/javascript-library-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Template to create javascript library

Topics

Resources

Stars

Watchers

Forks