![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
neo-jquery-demo
Advanced tools
libreria de javascript inspirado en Jquery aplicado a las caracteristicas mordenas de ES6+ y api nativas de navegador algunas utilizando funciones
el uso puede ser por medio de node o el navegador
// using with electron CJS
const neoJquery = require('neo-jquery'); // full module
const { $id } = require('neo-jquery'); // destructuring
// ES module webpack or electron via ESM or typescript
import neoJquery from 'neo-jquery';
<script src="https://unpkg.com/neo-jquery@1.0.2"></script>
/* id */
$id('hello-world'); // standalone
const helloWorld = $id('hello-world'); // using variable recommend const
/* based in document.getElementById */
/* query selector */
$selector('hello-world'); // standalone
const helloWorld = $selector('hello-world'); // using variable recommend const
/* based in document.querySelector */
/* query selector all */
$selectorAll('.hello-world'); // standalone
const helloWorld = $selectorAll('.hello-world'); // using variable recommend const
/* based in document.querySelectorAll */
/* body, const variable optional */
const bodyElement = $body;
/* based in document.body */
/* date, const variable optional */
const dateMethods = $date;
/* based Date class */
/* effects */
fadeIn(helloWorld) // using a dynamic classes styles
fadeOut(helloWorld) // using a dynamic classes styles
show(helloworld) // using inline css in js
hide(helloworld) // using inline css in js
// https methods
$getJSON('http://jsonplaceholder.typicode.com/users', (data) => console.log(data))
/* $getJSON fucntion using fetch API */
$ajax({
url: 'http://jsonplaceholder.typicode.com/users',
type: 'get', // http method
data: JSON.stringify({
names: names,
typedoc: typedoc,
numdoc: Number(numdoc),
numtitulada: Number(numtitulada),
numcomplementarias: Number(numcomplementarias),
estado: estado,
certificado: Boolean(certificado)
}), // from data only in http post | put method
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
}, // except http get method
success(data) {
console.log(data)
},
failed(err) {
console.error(err)
}
})
/* $ajax fucntion using fetch API with more callbacks */
/* create elements */
$createElement('p')
const parragram = $createElement('p')
// ready
$ready(() => console.log('loading'))
FAQs
libreria de javascript para el uso de DOM y ajax
The npm package neo-jquery-demo receives a total of 0 weekly downloads. As such, neo-jquery-demo popularity was classified as not popular.
We found that neo-jquery-demo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.