
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@girs/appstreamcompose-1.0
Advanced tools
GJS TypeScript type definitions for AppStreamCompose-1.0, generated from library version 1.0.0
GJS TypeScript type definitions for AppStreamCompose-1.0, generated from library version 1.0.0 using ts-for-gir v4.0.0-beta.36.
To use this type definitions, install them with NPM:
npm install @girs/appstreamcompose-1.0
You can import this package into your project like this:
import AppStreamCompose from '@girs/appstreamcompose-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/appstreamcompose-1.0
or @girs/appstreamcompose-1.0/ambient
in your tsconfig
or entry point Typescript file:
index.ts
:
import '@girs/appstreamcompose-1.0'
tsconfig.json
:
{
"compilerOptions": {
...
},
"include": ["@girs/appstreamcompose-1.0"],
...
}
Now you can import the ambient module with TypeScript support:
import AppStreamCompose from 'gi://AppStreamCompose?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/appstreamcompose-1.0
or @girs/appstreamcompose-1.0/import
in your tsconfig
or entry point Typescript file:
index.ts
:
import '@girs/appstreamcompose-1.0'
tsconfig.json
:
{
"compilerOptions": {
...
},
"include": ["@girs/appstreamcompose-1.0"],
...
}
Now you have also type support for this, too:
const AppStreamCompose = imports.gi.AppStreamCompose;
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 AppStreamCompose-1.0, generated from library version 1.0.0
We found that @girs/appstreamcompose-1.0 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.