Socket
Socket
Sign inDemoInstall

@girs/anjuta-3.0

Package Overview
Dependencies
15
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @girs/anjuta-3.0

GJS TypeScript type definitions for Anjuta-3.0, generated from library version 3.0.0


Version published
Weekly downloads
1
decreased by-91.67%
Maintainers
5
Created
Weekly downloads
 

Readme

Source

Anjuta-3.0

version downloads/week

GJS TypeScript type definitions for Anjuta-3.0, generated from library version 3.0.0 using ts-for-gir v4.0.0-beta.5.

Install

To use this type definitions, install them with NPM:

npm install @girs/anjuta-3.0

Usage

You can import this package into your project like this:

import Anjuta from '@girs/anjuta-3.0';

Ambient Modules

You can also use ambient modules to import this module like you would do this in JavaScript. For this you need to include @girs/anjuta-3.0 or @girs/anjuta-3.0/ambient in your tsconfig or entry point Typescript file:

index.ts:

import '@girs/anjuta-3.0'

tsconfig.json:

{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/anjuta-3.0"],
  ...
}

Now you can import the ambient module with TypeScript support:

import Anjuta from 'gi://Anjuta?version=3.0';

Global import

You can also import the module with Typescript support using the global imports.gi object of GJS. For this you need to include @girs/anjuta-3.0 or @girs/anjuta-3.0/import in your tsconfig or entry point Typescript file:

index.ts:

import '@girs/anjuta-3.0'

tsconfig.json:

{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/anjuta-3.0"],
  ...
}

Now you have also type support for this, too:

const Anjuta = imports.gi.Anjuta;

Bundle

Depending on your project configuration, it is recommended to use a bundler like esbuild. You can find examples using different bundlers here.

Other packages

All existing pre-generated packages can be found on gjsify/types.

Keywords

FAQs

Last updated on 05 May 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc