node-module-template

My personal template repo for node modules

MIT License

Stars
0

Node Module Template

A GitHub template repo for node modules

Usage

import { something } from '@voxpelli/node-module-template';

// Use that something

API

something()

Takes a value (input), does something configured by the config (configParam) and returns the processed value asyncly(output)

Syntax

something(input, [options]) => Promise<true>

Arguments

  • inputstring – the input of the method
  • optionsSomethingOptions – optional options

SomethingOptions

  • maxAgenumber – the maximum age of latest release to include
  • minDownloadsLastMonth = 400number – the minimum amount of downloads needed to be returned
  • skipPkgboolean – when set skips resolving package.json

Returns

A Promise that resolves to true

Used by

  • example – used by this one to do X and Y

Similar modules

  • example – is similar in this way

See also