open-index/open-npm huggingface dataset:
npm package: @freight-trust/editoken-api
Description: EDI Token API
Author: SEE LICENSE
Latest version: 1.0.0

# EDIToken

EDI Token API

## Get Started

Get started developing...

```shell
# install deps
npm install

# run in development mode
npm run dev

# run tests
npm run test
```

## Install Dependencies

Install all package dependencies (one time operation)

```shell
npm install
```

## Usage

> Production should use pm2, etc.

### Run in _development_ mode

Runs the application is development mode. Should not be used in production

```shell
npm run dev
```

or debug it

```shell
npm run dev:debug
```

#### Run in _production_ mode

Compiles the application and starts it in production production mode.

```shell
npm run compile
npm start
```

## Testing

Run the Mocha unit tests

```shell
npm test
```

or debug them

```shell
npm run test:debug
```

## Local Development

- Open you're browser to [http://localhost:3000](http://localhost:3000)
- Invoke the `/token` endpoint

  ```bash
  curl http://localhost:3000/contract/api/v1/token
  ```

## Troubleshooting

> Email Support@Freight.Zendesk.com

### Server

```bash
npm run dev:debug
```

#### Debug Tests

```bash
npm run test:debug
```

#### Linting

View airbnb linter output

```bash
npm run lint
```

Fix all airbnb linter errors

```bash
npm run lint
```

## License

Apache-2.0
npm package: @freight-trust/prettier-config
Description: prettier configuration
Author: SEE LICENSE
Latest version: 2.0.0

# Prettier with Git Diff/Blame Support

`@freight-trust/prettier-config`

> Prettier config with shell scripts to enable better Git Diff/Blame

## Getting started

To install `@freight-trust/prettier-config` in your project, you will need to run the
following command using [npm](https://www.npmjs.com/):

```bash
npm install -S @freight-trust/prettier-config
```

If you prefer [Yarn](https://yarnpkg.com/en/), use the following command
instead:

```bash
yarn add prettier-config-carbon
```

## Usage

You can use this prettier configuration by creating a `prettier.config.js` file
in the root of project and using this package in the following way:

```js
"use strict";

const prettierConfig = require("@freight-trust/prettier-config");
module.exports = prettierConfig;
```

## Shell Scripts

See [./bin](/bin)

## 🙌 Contributing

We're always looking for contributors to help us fix bugs, build new features,
or help us improve the project documentation. If you're interested, definitely
check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀

## 📝 License

Licensed under the [Apache 2.0 License](/LICENSE).