1.0.49 ā¢ Published 1 year ago
jquery-server v1.0.49
Server-Side jQuery
š Welcome to the "Server-Side jQuery" project! š
Because who said jQuery was just for the browser? š
With this magical Express.js overload, you can now use the famous dollar sign $
not only to manipulate the DOM but also to take control of your server-side logic!
Features
- āØ Unleash the power of
$
on your server. - š Create routes with the elegance of a jQuery selector.
- š Enjoy the irony of using a client-side library in the server environment.
Installation
To install Server-Side jQuery, simply run:
npm i jquery-server
Getting started
const $ = require('server-side-jquery');
// Use $ to create routes - because why not?
$('/').get((req, res) => {
res.send('Hello, Server-Side jQuery!');
});
$('server').start(); // optionnal pass a port number
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknoledgements
Special thanks to the creators of jQuery for inspiring this server-side adventure. Remember, this project is purely for fun and experimentation. Please use responsibly, if at all! š
š» Cheers to server-side jQuery! š»