europa-environment-node

6.0.0 • Public • Published

europa-environment-node

A Europa environment for Node.js.

Build Status License Release

Install

Install using your preferred package manager. For example;

$ npm install --save europa-environment-node

You will most likely never need to depend on europa-environment-node directly. Instead, you will probably want to install the node-europa package in order to use Europa within Node.js.

API

import { EuropaCore, EuropaOptions } from 'europa-core';
import { AnyNode, Element, NodeEnvironment } from 'europa-environment-node';

const _environment = Symbol();

class Europa extends EuropaCore<AnyNode, Element> {
  private static readonly [_environment] = new NodeEnvironment();

  constructor(options?: EuropaOptions) {
    super({ environment: Europa[_environment], options });
  }
}

Bugs

If you have any problems with this Europa environment or would like to see changes currently in development you can do so here.

Contributors

If you want to contribute, you're a legend! Information on how you can do so can be found in CONTRIBUTING.md. We want your suggestions and pull requests!

A list of Europa contributors can be found in AUTHORS.md.

License

Copyright © 2022 neocotic

See LICENSE.md for more information on our MIT license.

Package Sidebar

Install

npm i europa-environment-node

Weekly Downloads

182

Version

6.0.0

License

MIT

Unpacked Size

17.7 kB

Total Files

17

Last publish

Collaborators

  • neocotic