Skip to content

alchemist/alchemist-core

Repository files navigation

Alchemist Core Library

Underlying core library for building your own Alchemist code generation plugins.

alchemist-image

Npm Version Npm Downloads Join Discord Chat

For more about Alchemist go look at: Alchemist Application

Core parts

The library contains some key components and functionality such as:

  • NodeContainer Component (Provides the basic container for visual nodes)

  • NodeRegistry (Provides all the available node types)

  • NodeGeneratorRegistry (Provides all the generators for node types)

  • CodeProcessorRegistry (Provides all the code processors)

  • ProjectRegistry (Provides all the project types)

  • ProjectGeneratorRegistry (Provides all the generators for project types)

  • IFileSystem (Provides an abstraction on the file system)

How do I use it?

Just add a dependency to @alchemist/core and then include the parts you care about in your code.

You can use the @alchemist/dotnet and @alchemist/ecsrx repositories as examples of making your own plugins.

Blurb

This library is still very much a work in progress so the docs will be sparse and if you want to know more head on over to the discord channel.