Eko is a JavaScript library that can be used in Browser Extension, Node.js Enviroment, and Web Enviroment. This guide covers installation and setup for different environments.
Browser Extension
When building a browser extension that uses Eko, you’ll need to:
Extension Project Structure
For a complete example of using Eko in a browser extension, check out our example extension project.
Usage Example
Node.js Environment
Install
Usage Example
Web Environment
For web pages, you can include Eko using a module bundler like webpack or use it directly in the browser.
Install
Usage Example