Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@nextgis/utils
Advanced tools
Common development tools
Simply download and include with a script tag, Utils
will be registered as a global variable.
<script src="./lib/utils.global.js"></script>
<script>
Utils.Clipboard.copy('text to copy');
</script>
unpkg
<script src="https://unpkg.com/@nextgis/utils"></script>
jsdelivr
<script src="https://cdn.jsdelivr.net/npm/@nextgis/utils"></script>
<script type="module">
import { Clipboard } from './lib/utils.esm-browser.prod.js';
// import { Clipboard } from 'https://unpkg.com/@nextgis/utils/lib/utils.esm-browser.prod.js';
document.getElementById('copy-btn').addEventListener('click', () => {
const text = document.getElementById('copy-input').value;
Clipboard.copy(text);
});
</script>
We recommend linking to a specific version number /utils@[version]
# latest stable
npm install @nextgis/ngw-connector
import { debounce, deepmerge, defined } from '@nextgis/utils';
const webMap = new WebMap(deepmerge(opt1, opt2));
const onMapMove = debounce(() => /** do something no more than once a second */, 1000);
webMap.emitter.on('move', onMapMove);
Check out the API Documentation
Need to fix a bug or add a feature to @nextgis/utils
? We provide custom development and support for this software. Contact us to discuss options!
FAQs
Common development tools
The npm package @nextgis/utils receives a total of 91 weekly downloads. As such, @nextgis/utils popularity was classified as not popular.
We found that @nextgis/utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.