🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

dcs-file-updater

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dcs-file-updater

This library helps developers communicate with DCS API to update files in a certain repo.

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

DCS File Updater

This library helps developers communicate with DCS API to update files in a certain repo.

Example:

import { getFile, updateFile } from "dcs-file-updater"

getFile("my-username", "my-repo-name", "./file/path.txt");
updateFile("my-username", "my-repo-name", "./file/path.txt", "Hello world!", "5a6f465c78687");

This example gets a file ("./translate/figs-metaphor/01.md") from the "es-419_ta" repository owned by "es-419_gl" organization in dcs. Then updates it passing it the new content and the authentication token.

FAQs

Package last updated on 10 Apr 2025

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