open-index/open-npm huggingface dataset:
npm package: @leisurelink/svcutils
Description: LeisureLink service utils for restify based APIs.
Author: Phillip Clark
Latest version: 0.2.3

# svcutils

Service utilities for restify based APIs.

# Use

If you're reading this then you are authorized to use the service utils.

In your `package.json` file, reference this repository:

```json
{
  "name": "ur-pkg",
  "private": true,
  "dependencies": {
    "svcutils": "git+ssh://git@github.com:VacationRoost/svcutils.git#0.1.0",
    ...
  },
  ...
}
```

## Methods

* `fixDate` - transforms date strings and `moment` instances into javascript `Date` objects.
* `formatValidationError` - helper function that formats a JSON schema validation error into a human readable message. Assumes the validation errors were produced by the `jayschema` package.
* `exposeRoutes` - utility function that registers API routes on a `restify` `server` object from the routes described in a `route descriptor` object.
npm package: @leisurelink/units-manager
Description: # tests - Change the mongo connection string in `test/index.js` to point at your mongo instance - run `npm test` from the root directory.
Latest version: 1.6.6

# units-manager

# tests
- Change the mongo connection string in `test/index.js` to point at your mongo instance
- run `npm test` from the root directory.
    
# lint
Run `npm run lint` from the root directory