0.1.3 • Published 5 years ago
jquery-to-javascript v0.1.3
jQuery to Javascript
This repo is the jquery-to-javascript-convert repository adapted to javascript.
Installation
npm install jquery-to-javascript
or
yarn add jquery-to-javascript
Usage
import toJS from 'jquery-to-javascript';
const script = `$(".detail").html("<b>any text</b>");`;
toJS.convert(script);
// document.getElementByClassName("detail").innerHTML = "<b>any text</b>";