# @dendronhq/engine-server

> dendron-engine

Latest version **0.122.0** (published 2023-05-05) · GPLv3 license · 0 weekly downloads

## Install

```sh
npm install @dendronhq/engine-server
pnpm add @dendronhq/engine-server
yarn add @dendronhq/engine-server
bun add @dendronhq/engine-server
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.122.0 |
| Published | 2023-05-05 |
| First published | 2020-07-13 |
| Weekly downloads | 0 |
| License | GPLv3 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12.0.0 |
| Dependencies | 46 |
| Unpacked size | 2.2 MB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 7473 |
| Author | Kevin Lin |
| Maintainers | kevins8 |

## Links

- npm: https://www.npmjs.com/package/@dendronhq/engine-server
- Repository: https://github.com/dendronhq/dendron
- Homepage: https://github.com/dendronhq/dendron#readme
- Issues: https://github.com/dendronhq/dendron/issues
- npm.io page: https://npm.io/package/@dendronhq/engine-server

## Dependencies (46)

- [qs](https://npm.io/package/qs.md) ^6.10.1
- [klaw](https://npm.io/package/klaw.md) ^3.0.0
- [axios](https://npm.io/package/axios.md) ^0.21.1
- [execa](https://npm.io/package/execa.md) ^4.0.3
- [mdast](https://npm.io/package/mdast.md) ^3.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [remark](https://npm.io/package/remark.md) ^12.0.1
- [stream](https://npm.io/package/stream.md) ^0.0.2
- [sqlite3](https://npm.io/package/sqlite3.md) ^5.1.2
- [unified](https://npm.io/package/unified.md) ^9.1.0
- [chokidar](https://npm.io/package/chokidar.md) ^3.5.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^9.0.1
- [through2](https://npm.io/package/through2.md) ^4.0.2
- [diff2html](https://npm.io/package/diff2html.md) ^3.2.0
- [lru-cache](https://npm.io/package/lru-cache.md) ^6.0.0
- [spark-md5](https://npm.io/package/spark-md5.md) ^3.0.1
- [rehype-raw](https://npm.io/package/rehype-raw.md) ^5.0.0
- [remark-toc](https://npm.io/package/remark-toc.md) ^7.0.0
- [vscode-uri](https://npm.io/package/vscode-uri.md) 3.0.3
- [gray-matter](https://npm.io/package/gray-matter.md) ^4.0.2
- [rehype-slug](https://npm.io/package/rehype-slug.md) ^4.0.1
- [remark-abbr](https://npm.io/package/remark-abbr.md) ^1.4.0
- [remark-math](https://npm.io/package/remark-math.md) 3
- [rehype-katex](https://npm.io/package/rehype-katex.md) 5
- [remark-parse](https://npm.io/package/remark-parse.md) ^8.0.3
- [mdast-builder](https://npm.io/package/mdast-builder.md) ^1.1.1
- [remark-rehype](https://npm.io/package/remark-rehype.md) ^8.0.0
- [unified-engine](https://npm.io/package/unified-engine.md) ^8.0.0
- [cross-path-sort](https://npm.io/package/cross-path-sort.md) ^1.0.0
- [rehype-stringify](https://npm.io/package/rehype-stringify.md) ^8.0.0
- [remark-footnotes](https://npm.io/package/remark-footnotes.md) 2
- [remark-stringify](https://npm.io/package/remark-stringify.md) ^9.0.1
- [remark-variables](https://npm.io/package/remark-variables.md) ^1.4.9
- [remark-wiki-link](https://npm.io/package/remark-wiki-link.md) ^0.0.4
- [unist-util-visit](https://npm.io/package/unist-util-visit.md) ^2.0.3
- [mdast-util-inject](https://npm.io/package/mdast-util-inject.md) ^1.1.0
- [remark-containers](https://npm.io/package/remark-containers.md) ^1.2.0
- [unist-util-select](https://npm.io/package/unist-util-select.md) ^3.0.1
- [@dendronhq/unified](https://npm.io/package/@dendronhq/unified.md) ^0.122.0
- [mdast-util-compact](https://npm.io/package/mdast-util-compact.md) ^2.0.1
- [remark-frontmatter](https://npm.io/package/remark-frontmatter.md) ^2.0.0
- [@mapbox/rehype-prism](https://npm.io/package/@mapbox/rehype-prism.md) ^0.5.0
- [@dendronhq/common-all](https://npm.io/package/@dendronhq/common-all.md) ^0.122.0
- [@jcoreio/async-throttle](https://npm.io/package/@jcoreio/async-throttle.md) ^1.4.3
- [@dendronhq/common-server](https://npm.io/package/@dendronhq/common-server.md) ^0.122.0
- [rehype-autolink-headings](https://npm.io/package/rehype-autolink-headings.md) ^5.0.1

## Recent versions

- 0.122.0 (latest) — 2023-05-05
- 0.121.0 — 2023-05-04
- 0.120.0 — 2023-05-04
- 0.119.0 — 2022-12-06
- 0.118.0 — 2022-11-22
- 0.117.0 — 2022-11-08
- 0.116.3 — 2022-11-04
- 0.116.2 — 2022-10-26
- 0.116.1 — 2022-10-25
- 0.116.0 — 2022-10-25
- 0.115.1 — 2022-10-13
- 0.115.0 — 2022-10-11
- 0.114.0 — 2022-09-27
- 0.113.1 — 2022-09-20
- 0.113.0 — 2022-09-20
- … 499 more at https://npm.io/package/@dendronhq/engine-server/versions

## README

[![Build Status](https://travis-ci.org/{{github-user-name}}/{{github-app-name}}.svg?branch=master)](https://travis-ci.org/{{github-user-name}}/{{github-app-name}}.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/{{github-user-name}}/{{github-app-name}}/badge.svg?branch=master)](https://coveralls.io/github/{{github-user-name}}/{{github-app-name}}?branch=master)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

# Using this module in other modules

Here is a quick example of how this module can be used in other modules. The [TypeScript Module Resolution Logic](https://www.typescriptlang.org/docs/handbook/module-resolution.html) makes it quite easy. The file `src/index.ts` is a [barrel](https://basarat.gitbook.io/typescript/main-1/barrel) that re-exports selected exports from other files. The _package.json_ file contains `main` attribute that points to the generated `lib/index.js` file and `typings` attribute that points to the generated `lib/index.d.ts` file.

> If you are planning to have code in multiple files (which is quite natural for a NodeJS module) that users can import, make sure you update `src/index.ts` file appropriately.

Now assuming you have published this amazing module to _npm_ with the name `my-amazing-lib`, and installed it in the module in which you need it -

- To use the `Greeter` class in a TypeScript file -

```ts
import { Greeter } from "my-amazing-lib";

const greeter = new Greeter("World!");
greeter.greet();
```

- To use the `Greeter` class in a JavaScript file -

```js
const Greeter = require("my-amazing-lib").Greeter;

const greeter = new Greeter("World!");
greeter.greet();
```

## Setting travis and coveralls badges

1. Sign in to [travis](https://travis-ci.org/) and activate the build for your project.
2. Sign in to [coveralls](https://coveralls.io/) and activate the build for your project.
3. Replace {{github-user-name}}/{{github-app-name}} with your repo details like: "ospatil/generator-node-typescript".

---
_Source: https://npm.io/package/@dendronhq/engine-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
