Package Exports
- @girs/node-rest-0.7
Readme
Rest-0.7
Node.js TypeScript type definitions for Rest-0.7, generated from library version 0.7.0 using ts-for-gir v3.0.0-beta.14.
A helper library for RESTful services.
Install
To use this type definitions, install them with NPM like this:
npm install @girs/node-rest-0.7Usage
You can import this package into your project like this:
import Rest from '@girs/rest-0.7';Or if you prefer CommonJS, you can also use this:
const Rest = require('@girs/rest-0.7');If you use ambient modules, you can also import this module like you would do this in JavaScript:
const gi = require('node-gtk')
const Rest = gi.require('Rest', '0.7')Depending on your project configuration, it is recommended to use a bundler like esbuild. You can find examples using different bundlers here.
Other packages
All existing pre-generated packages can be found on gjsify/types.