2.0.0 • Published 4 years ago

@narvin/greet v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Greet

This is a sample package that is written in TypeScript with ES6 features and modules but distributed as ES5 JavaScript with CommonJS modules for maximum compatibility.

Installation

> npm i @narvin/greet

Usage

Importing as a CommonJS module:

const greet = require("@narvin/greet").greet;

console.log(greet('you')); // 'Hello you'

Importing as an ES6 module:

import greetExports from "@narvin/greet";

const { greet } = greetExports;
console.log(greet('you')); // 'Hello you'
2.0.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago