Skip to content

SonofNun15/typescript-library-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

874f0d1 · Sep 25, 2015

History

30 Commits
Sep 23, 2015
Sep 23, 2015
Sep 25, 2015

Repository files navigation

typescript-library-test

This repository explores the idea of exporting a typescript library that can be consumed by other typescript or javascript repositories.

library is the sample library. It contains a simple console notification service which is instanced and exported.

This library is installed as a depedency into consumer using npm. consumer then imports this library using the ES6 module syntax (the commonjs syntax has the same issues) and tries to use it.

Real life example

To see a more complicated example of this working "in the wild," check out these open source repositories we are building at Renovo Solutions:

Typescript-Angular-Utilities is a library of general purpose utilities for angular. This library will be consumed (working on that part now) by the components library, which will contain useful reusable UI components for angular projects.

About

Test deployment and consumption of TypeScript libraries

Resources

Stars

Watchers

Forks

Packages

No packages published