open-index/open-npm huggingface dataset:
npm package: @sylo/is-even
Description: This library was generated with [Nx](https://nx.dev).
Latest version: 0.1.0-alpha.12

# is-even

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build is-even` to build the library.

## Running unit tests

Run `nx test is-even` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @sylo/is-odd
Description: This library was generated with [Nx](https://nx.dev).
Latest version: 0.1.0-alpha.3

# is-odd

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build is-odd` to build the library.

## Running unit tests

Run `nx test is-odd` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @sylo/logger
Description: Extremely light-weight, unobtrusive & low buy-in logging module interface.
Latest version: 0.2.0

# logger

Extremely light-weight, unobtrusive & low buy-in logging module interface.

```typescript
interface ILogger {
  log(level: Level, message: unknown, ...messages: unknown[]): void;

  // derive logger that applies `f` to all inputs
  // this enables creating contextualized sub-loggers
  local(f: LogMod): typeof this;

  // convenience log fns
  error(message: unknown, ...messages: unknown[]): void;
  warn(message: unknown, ...messages: unknown[]): void;
  info(message: unknown, ...messages: unknown[]): void;
  debug(message: unknown, ...messages: unknown[]): void;

  // short-hand aliases
  w(message: unknown, ...messages: unknown[]): void;
  d(message: unknown, ...messages: unknown[]): void;
  i(message: unknown, ...messages: unknown[]): void;
  e(message: unknown, ...messages: unknown[]): void;
}
```

This package bundles two implementations, however, creating more platform
specific backends is a breeze; see existing implementations for reference:

* `noopLogger` a logger that discards everything
* `consoleLogger` a logger that prints via the `console.log` family of functions

## Running unit tests

Run `nx test logger` to execute the unit tests via [Jest](https://jestjs.io).

## Running lint

Run `nx lint logger` to execute the lint via [ESLint](https://eslint.org/).