What is NanoScript?
NanoScript is a modern, ultra-lightweight JavaScript library built specifically for edge environments. It provides seamless, fluent Document Object Model (DOM) manipulation, event handling, and CSS animations through a fast method-chaining API.
GitHub repo link: https://github.com/Hfs2024/NanoScript/
Example:
NS('.alert-box')
.css({ color: "green" })
.getText()[0] // You MUST add [0] if you want the first element text, because it returns an array.
Cloning Steps
To set up NanoScript locally, follow these steps:
- Open your terminal application.
- Clone the repository directly using the command below:
git clone https://github.com/Hfs2024/NanoScript/
- Navigate into the project folder:
cd NanoScript
Contributions, bug reports, and repository stars are highly appreciated.
Top comments (0)