# moist-package

> This is a test of building my own library from scratch. Also demo illustration of creating a singelton service class and can be used globally

Latest version **1.0.1** (published 2017-09-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install moist-package
pnpm add moist-package
yarn add moist-package
bun add moist-package
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-09-29 |
| First published | 2017-09-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | James Phillips |
| Maintainers | jamminjimi |

## Links

- npm: https://www.npmjs.com/package/moist-package
- npm.io page: https://npm.io/package/moist-package

## Recent versions

- 1.0.1 (latest) — 2017-09-29
- 1.0.0 — 2017-09-29

## README

Installation

To install this library, run:

$ npm install moistpackage --save
Consuming your library

Once you have published your library to npm, you can import your library in any Angular application by running:

$ npm install moistsnippets
and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
 
import { AppComponent } from './app.component';
 
// Import your library
import { MoistModule } from 'moist-package';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
 
    // Specify your library as an import
    MoistModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
Once your library is imported, you can use its components, directives and pipes in your Angular application:

<!-- You can now use your library component in app.component.html -->
<h1>
  {{title}}
</h1>
<MoistComponent></MoistComponent>
Development

To generate all *.js, *.d.ts and *.metadata.json files:

$ npm run build
To lint all *.ts files:

$ npm run lint
License

MIT © James Phillips

---
_Source: https://npm.io/package/moist-package · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
