Registry / education / axios-re

axios-re

JSON →
library0.2.14-2jsnpmunverified

A barebones API for Italian school registry provider Axios. Current version 0.2.14-2, pre-release with Node >=10 support. Ships TypeScript types. Minimal documentation; primarily a reverse-engineered wrapper for the Axios school registry service in Italy. Alternative to official portals.

npm install axios-re
INSTALL
IMPORT
SIG · AXIOS-RE
A
axios-re
educationjavascriptv0.2.14-2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import reAxios from 'axios-re'
const reAxios = require('axios-re')
ESM-only package; CommonJS require will fail.
ReAxios
import { ReAxios } from 'axios-re'
import ReAxios from 'axios-re'
ReAxios is a named export, not default.
AxiosClient
import { AxiosClient } from 'axios-re'
Alternative named export for the client class.

Authenticate and fetch grades from Italian school registry using the re-axios client.

import reAxios from 'axios-re'; const client = new reAxios({ username: process.env.USERNAME ?? '', password: process.env.PASSWORD ?? '' }); async function main() { const data = await client.getGrades(); console.log(data); } main();
Debug
Known issues
breakingESM-only package; using require() throws ERR_REQUIRE_ESM.
fix
Use import syntax or dynamic import().
affects: >=0.2.0
deprecatedThe default export 'reAxios' is deprecated in favor of named export 'ReAxios' since v0.3.0.
fix
Use 'import { ReAxios } from 'axios-re'' instead.
affects: >=0.3.0
gotchaAPI may break without notice; reverse-engineered endpoints are unstable.
fix
Pin exact version and monitor upstream changes.
affects: >=0.0.0
gotchaNode.js >=10 required; using older Node causes cryptic errors.
fix
Upgrade Node to v10 or later.
affects: <10
deprecatedTypeScript types may be out of sync with actual runtime behavior.
fix
Verify types against actual API responses.
affects: >=0.2.0
Errors
Common errors & fixes
ERR_REQUIRE_ESM
Using require() on an ESM-only package.
fix
Replace require('axios-re') with import from 'axios-re'.
TypeError: reAxios is not a constructor
Attempting to use default import as constructor in TypeScript without proper type.
fix
Use new ReAxios() from named import instead.
AxiosError: Request failed with status code 403
Invalid credentials or expired session token.
fix
Check username/password or refresh authentication.
Upgrade
Version history
0.2.14-2latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
axios-re — npm install axios-re · libregistry