/live-directory

A Simple-To-Use Dynamic Template Content Manager For Webservers

Primary LanguageJavaScriptMIT LicenseMIT

LiveDirectory: High Performance File Content Manager

NPM version NPM downloads Language grade: JavaScript GitHub issues GitHub stars GitHub license

Motivation

Implementing your own template / file management system which consistently reads and updates file content can be tedious. LiveDirectory aims to solve that by acting as an automated file content store making a directory truly come alive. Powered by the efficient file watching library chokidar, LiveDirectory can be an efficient solution for fast and iterative web development.

Features

  • Etag Support
  • Memory Efficient
  • Simple-to-use API
  • Sub-Directory Support
  • Asynchronous By Nature
  • Instantaneous Hot Reloading
  • Supports Windows, Linux & MacOS

Documentation

LiveDirectory can be installed using Node Package Manager (npm).

npm i live-directory

Testing Changes

To run LiveDirectory functionality tests locally on your machine, you must follow the steps below.

  1. Clone the LiveDirectory repository to your machine.
  2. Run npm install in the root directory.
  3. Run npm test to run all tests with your local changes.

License

MIT