ordinem
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

ordinem Build Status npm version Dependabot Status

📂 A media library server and browser.

Installation

Run yarn global add ordinem or npm i -g ordinem.

Usage

Configuration file

To use a configuration file, add a configuration file following the cosmiconfig standard (e.g. .ordinemrc.json) to your project and the ordinem CLI will find it automatically. Options from the CLI still take precedence over the configuration file.

The structure of the configuration file is the following:

{
  /** set the server port */
  dir?: string;

  /** set the directory to serve */
  port?: number;
}

CLI

Usage: ordinem [options]

A media library server and browser.

Options:
  --noconfig         don't look for a configuration file
  -p, --port <port>  set the server port (default: 8000)
  -d, --dir <dir>    set the directory to serve (default: ".")
  -v, --version      output the version number
  -h, --help         output usage information

Package Sidebar

Install

npm i ordinem

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

23.3 kB

Total Files

28

Last publish

Collaborators

  • ffflorian