npm.io
0.13.1 • Published yesterday

@gjsify/domain

Licence
MIT
Version
0.13.1
Deps
1
Size
5 kB
Vulns
0
Weekly
1.7K

@gjsify/domain

GJS stub implementation of the deprecated Node.js domain module.

Part of the gjsify project — Node.js and Web APIs for GJS (GNOME JavaScript).

Installation

gjsify install @gjsify/domain

# npm or yarn also work (e.g. adding it to an existing project):
npm install @gjsify/domain
yarn add @gjsify/domain

Usage

import domain from '@gjsify/domain';

Note: The domain module is deprecated in Node.js. This package provides a stub for compatibility.

License

MIT

Keywords