@mobiusz/electron-core
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-alpha.4 • Public • Published

# @mobiusz/core

lerna

Donate

paypal

Description

@mobiusz/core is the core module, as its name suggests, for the whole Möb:üsz ecosystem to work. It provides types that are used - and to be used - in the modules that belong to other framework's namespaces:

  • @mobiuszobviously.
  • @vuoz the namespace for packages that implement GUI components and functions.
  • @pipeline the namespace for packages that handles the Pipeline dataflow programming system.
  • @mmmap that bundles all this together to provide application and server.

Install

With yarn (recommended)

yarn add @mobiusz/core

With npm

npm install @mobiusz/core

Structure

@mobiusz/core provides basic types, models and abstract classes to be used or implemented. The main purpose of these is to propose a common language to make community development and discussion easier.

Implementations

Few concrete functionalities are already implemented in this module:

IdGenerator

Generates unique ids thanks to the nanoid package. It is widely used in the Möb:üsz ecosystem to quickly provide unique ids with the less collision possible.

class IdGenerator implements UniqueIdGeneratorPort
  • Dependencies: nanoid (bundled with the package)
  • Purpose: Generates unique ids according to an user-defined length of the id to produce.
  • Usage: ìmport { IdGenerator } from '@mobiusz/core

Contributors

Author

Benoît Lahoz

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @mobiusz/electron-core

Weekly Downloads

1

Version

0.1.0-alpha.4

License

GPL-3.0+

Unpacked Size

365 kB

Total Files

14

Last publish

Collaborators

  • benoitlahoz