# ts-logger

> An experimental logger library for NodeJS written in TypeScript

Latest version **0.1.5** (published 2016-06-14) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install ts-logger
pnpm add ts-logger
yarn add ts-logger
bun add ts-logger
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2016-06-14 |
| First published | 2016-06-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Juan M. Cañabate [@cubodehelio] |
| Maintainers | cubodehelio |

## Links

- npm: https://www.npmjs.com/package/ts-logger
- Repository: https://github.com/cubodehelio/ts-logger
- Homepage: https://github.com/cubodehelio/ts-logger#readme
- Issues: https://github.com/cubodehelio/ts-logger/issues
- npm.io page: https://npm.io/package/ts-logger

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [node-uuid](https://npm.io/package/node-uuid.md) ^1.4.7
- [on-finished](https://npm.io/package/on-finished.md) ^2.3.0
- [lodash.iserror](https://npm.io/package/lodash.iserror.md) ^3.1.1

## Recent versions

- 0.1.5 (latest) — 2016-06-14
- 0.2.0-alpha.3 (alpha.3) — 2016-07-13
- 0.2.0-alpha.2 (alpa.2) — 2016-07-12
- 0.2.0-alpha.1 (alpa.1) — 2016-07-12
- 0.1.4 — 2016-06-13
- 0.1.3 — 2016-06-13
- 0.1.2 — 2016-06-13
- 0.1.1 — 2016-06-13

## README

#ts-logger

An experimental logger library for NodeJS written in TypeScript (__working progress__).

## Use

```sh
$ npm install ts-logger
```

## Development

* Clone this repo `git clone https://github.com/cubodehelio/ts-logger.git`.
* Install deps: `npm install`
* typings install

## Transpile

Using `tsconfig.json` in the project root

```sh
$ node_modules/typescript/bin/tsc -p .
```


## Development in Visual Studio Code

+ Install `typings` globally in your system: `npm install typings -g`
+ Install the TypeScript definitions for the project running `typings install` command in the root.
+ Once in VSC you can build (and watch for changes) the code with `ctrl+shift+b` (`ctrl+shift+h` to see the output).

By now the vsc build task just fires `tcs -p .` command in the project root, which reads settings from `tsconfig.json` file.

-------------------------------------------------------------------------------

## TODO

+ Extend `ExpressRequest` type from node IncommingMessage (?).
+ Extend `ExpressResponse` type from node ServerResponse (?).
+ Make Grunt based build system for transpilation, release, etc..
+ Should the traspilation be made with babel?

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