naja
Version:
Modern AJAX library for Nette Framework
34 lines (22 loc) • 1.57 kB
Markdown
# Naja
[](https://github.com/naja-js/naja/actions?query=workflow%3ATest)
[](https://codecov.io/gh/naja-js/naja)
[](https://npmjs.com/package/naja)
[](https://npmjs.com/package/naja)
[](https://npmjs.com/package/naja)
[](https://npmjs.com/package/naja)
[](https://npmjs.com/package/naja)
[](https://npmjs.com/package/naja)
> **Naja.** a genus of venomous elapid snakes comprising the true cobras. (Also, German for "Well" at the beginning of a sentence.)
Naja is a full-featured JS client-side AJAX library for Nette Framework.
It is written using modern-day JavaScript, but compiled into a bundle that works in all modern browsers. Every build of Naja is [thoroughly tested](https://github.com/naja-js/naja/actions?query=workflow%3ATest) and therefore guaranteed to work in the latest versions of Chromium (Chrome and Edge), Firefox, and WebKit (Safari).
## Very quick start
```bash
$ npm install naja
```
```js
import naja from 'naja';
naja.initialize();
```
## Documentation
You can find the documentation [here](https://naja.js.org).