New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

actions-swing

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

actions-swing

A powerful development kit for GitHub Actions 🏌️

latest
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

actions-swing

A powerful development kit for GitHub Actions 🏌️

[!WARNING] This package is still in development and may not be stable. Use at your own risk.

Installation

$ npm install actions-swing # npm
$ yarn add actions-swing    # yarn
$ pnpm add actions-swing    # pnpm

Usage

runtime.osReleaseId()

Returns the ID field of the /etc/os-release file.

import { runtime } from 'actions-swing';

const osReleaseId = await runtime.getOsReleaseId();

pkg.install()

Installs package(s) using the system package manager on Linux.

import { pkg } from 'actions-swing';

await pkg.install(['vim', 'git']);
await pkg.install(['vim', 'git'], { sudo: true });

pkg.uninstall()

Uninstalls package(s) using the system package manager on Linux.

import { pkg } from 'actions-swing';

await pkg.uninstall(['vim', 'git']);
await pkg.uninstall(['vim', 'git'], { sudo: true });

License

MIT

FAQs

Package last updated on 15 May 2024

Did you know?

Socket

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