
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@girs/pangocairo-1.0
Advanced tools
GJS TypeScript type definitions for PangoCairo-1.0, generated from library version 1.0.0
GJS TypeScript type definitions for PangoCairo-1.0, generated from library version 1.0.0 using ts-for-gir v4.0.0-beta.11.
To use this type definitions, install them with NPM:
npm install @girs/pangocairo-1.0
You can import this package into your project like this:
import PangoCairo from '@girs/pangocairo-1.0';
You can also use ambient modules to import this module like you would do this in JavaScript.
For this you need to include @girs/pangocairo-1.0
or @girs/pangocairo-1.0/ambient
in your tsconfig
or entry point Typescript file:
index.ts
:
import '@girs/pangocairo-1.0'
tsconfig.json
:
{
"compilerOptions": {
...
},
"include": ["@girs/pangocairo-1.0"],
...
}
Now you can import the ambient module with TypeScript support:
import PangoCairo from 'gi://PangoCairo?version=1.0';
You can also import the module with Typescript support using the global imports.gi
object of GJS.
For this you need to include @girs/pangocairo-1.0
or @girs/pangocairo-1.0/import
in your tsconfig
or entry point Typescript file:
index.ts
:
import '@girs/pangocairo-1.0'
tsconfig.json
:
{
"compilerOptions": {
...
},
"include": ["@girs/pangocairo-1.0"],
...
}
Now you have also type support for this, too:
const PangoCairo = imports.gi.PangoCairo;
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 PangoCairo-1.0, generated from library version 1.0.0
We found that @girs/pangocairo-1.0 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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.