
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
@girs/gvc-1.0
Advanced tools
GJS TypeScript type definitions for Gvc-1.0, generated from library version 1.0.0
GJS TypeScript type definitions for Gvc-1.0, generated from library version 1.0.0 using ts-for-gir v4.0.0-beta.25.
To use this type definitions, install them with NPM:
npm install @girs/gvc-1.0
You can import this package into your project like this:
import Gvc from '@girs/gvc-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/gvc-1.0
or @girs/gvc-1.0/ambient
in your tsconfig
or entry point Typescript file:
index.ts
:
import '@girs/gvc-1.0'
tsconfig.json
:
{
"compilerOptions": {
...
},
"include": ["@girs/gvc-1.0"],
...
}
Now you can import the ambient module with TypeScript support:
import Gvc from 'gi://Gvc?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/gvc-1.0
or @girs/gvc-1.0/import
in your tsconfig
or entry point Typescript file:
index.ts
:
import '@girs/gvc-1.0'
tsconfig.json
:
{
"compilerOptions": {
...
},
"include": ["@girs/gvc-1.0"],
...
}
Now you have also type support for this, too:
const Gvc = imports.gi.Gvc;
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 Gvc-1.0, generated from library version 1.0.0
The npm package @girs/gvc-1.0 receives a total of 3,569 weekly downloads. As such, @girs/gvc-1.0 popularity was classified as popular.
We found that @girs/gvc-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
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.