Simple fetch library for HTTP requests with cancellation support. Version 0.1.0, requires Node >=4. Provides a minimal API for GET requests and a CancelToken mechanism to abort requests. Less feature-rich than axios or node-fetch, intended for personal use with low overhead.
npm install ajxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows CommonJS require, async GET request, and error handling.
Pin to exact version and test upgrades.
Use ajx.CancelToken.new() instead of new ajx.CancelToken().
Use require('ajx') or use dynamic import() if ESM is required.Use const ct = ajx.CancelToken.new();
Change to const ajx = require('ajx');Add const ajx = require('ajx'); at top of file.No dependency data recorded yet.