Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@girs/adw-1
Advanced tools
GJS TypeScript type definitions for Adw-1, generated from library version 1.3.0
GJS TypeScript type definitions for Adw-1, generated from library version 1.3.0 using ts-for-gir v3.0.0.
Building blocks for modern GNOME applications
To use this type definitions, install them with NPM:
npm install @girs/adw-1
You can import this package into your project like this:
import Adw from '@girs/adw-1';
Or if you prefer CommonJS, you can also use this:
const Adw = require('@girs/adw-1');
You can also use ambient modules to import this module like you would do this in JavaScript.
For this you need to include @girs/adw-1
or @girs/adw-1/ambient
in your tsconfig
or entry point Typescript file:
index.ts
:
import '@girs/adw-1'
tsconfig.json
:
{
"compilerOptions": {
...
},
"include": ["@girs/adw-1"],
...
}
Now you can import the ambient module with TypeScript support:
import Adw from 'gi://Adw?version=1';
You can also import the module with Typescript support using the global imports.gi
object of GJS.
For this you need to include @girs/adw-1
or @girs/adw-1/import
in your tsconfig
or entry point Typescript file:
index.ts
:
import '@girs/adw-1'
tsconfig.json
:
{
"compilerOptions": {
...
},
"include": ["@girs/adw-1"],
...
}
Now you have also type support for this, too:
const Adw = imports.gi.Adw;
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 Adw-1, generated from library version 1.7.0
The npm package @girs/adw-1 receives a total of 681 weekly downloads. As such, @girs/adw-1 popularity was classified as not popular.
We found that @girs/adw-1 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.