Files
docmd-io--docmd/packages/engines/js
wehub-resource-sync 6db8fca185
docmd CI verification / verify (push) Failing after 0s
chore: import upstream snapshot with attribution
2026-07-13 12:31:55 +08:00
..

@docmd/engine-js

Default JavaScript engine for docmd using Node.js worker threads and native async I/O. Works everywhere without any native dependencies.

Part of the docmd documentation engine.

Usage

This engine is used by default when no engine configuration is specified:

// docmd.config.js
export default {
  // No engine specified = uses 'js' engine
};

Explicitly select the JS engine:

export default {
  engine: 'js'
};

Capabilities

  • file-discovery: Parallel file system traversal
  • file-read-batch: Batched file reading
  • git-log: Git history extraction via git CLI
  • search-index: Search index building with MiniSearch

Documentation

See docs.docmd.io for full usage and API reference.

License

MIT