
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@girs/avahi-0.6
Advanced tools
GJS TypeScript type definitions for Avahi-0.6, generated from library version 0.6.0
GJS TypeScript type definitions for Avahi-0.6, generated from library version 0.6.0 using ts-for-gir v4.0.0-beta.26.
To use this type definitions, install them with NPM:
npm install @girs/avahi-0.6
You can import this package into your project like this:
import Avahi from '@girs/avahi-0.6';
You can also use ambient modules to import this module like you would do this in JavaScript.
For this you need to include @girs/avahi-0.6 or @girs/avahi-0.6/ambient in your tsconfig or entry point Typescript file:
index.ts:
import '@girs/avahi-0.6'
tsconfig.json:
{
"compilerOptions": {
...
},
"include": ["@girs/avahi-0.6"],
...
}
Now you can import the ambient module with TypeScript support:
import Avahi from 'gi://Avahi?version=0.6';
You can also import the module with Typescript support using the global imports.gi object of GJS.
For this you need to include @girs/avahi-0.6 or @girs/avahi-0.6/import in your tsconfig or entry point Typescript file:
index.ts:
import '@girs/avahi-0.6'
tsconfig.json:
{
"compilerOptions": {
...
},
"include": ["@girs/avahi-0.6"],
...
}
Now you have also type support for this, too:
const Avahi = imports.gi.Avahi;
Depending on your project configuration, it is recommended to use a bundler like esbuild. You can find examples using different bundlers here.
All existing pre-generated packages can be found on gjsify/types.
FAQs
GJS TypeScript type definitions for Avahi-0.6, generated from library version 0.6.0
We found that @girs/avahi-0.6 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.