Installation
NEAT-JavaScript can be used in both Node.js and browser environments. Follow the instructions below to install and set up the library for your project.
Installation with npm
Available Imports
Here are the main components you can import from the library:
Installation for Browsers
Add the NEAT-JavaScript library to your HTML file:
Important Note
In browser environments, all components are available under the NEATJavaScript
namespace by default. You can make all components available globally by adding:
This allows you to use all components without the NEATJavaScript.
prefix.
How the Library is Exported
The library is bundled with webpack using UMD format with the global name NEATJavaScript
. When you include the script in your HTML, all the library's components are automatically available under this namespace.
Available Components
Here are the main components available in the browser:
Next Steps
After installing and configuring the library, check out the following resources to learn more:
- Quick Start Guide - Quick examples to get started
- Configuration - Detailed configuration options