# push-only

> Simple way to add file with Node JS.

Latest version **1.0.4** (published 2022-11-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install push-only
pnpm add push-only
yarn add push-only
bun add push-only
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2022-11-05 |
| First published | 2022-11-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | mzaini30 |

## Links

- npm: https://www.npmjs.com/package/push-only
- Repository: https://github.com/mzaini30/push-only
- Homepage: https://github.com/mzaini30/push-only#readme
- Issues: https://github.com/mzaini30/push-only/issues
- npm.io page: https://npm.io/package/push-only

## Dependencies (1)

- [octokit](https://npm.io/package/octokit.md) ^2.0.10

## Recent versions

- 1.0.4 (latest) — 2022-11-05
- 1.0.3 — 2022-11-05
- 1.0.2 — 2022-11-05
- 1.0.1 — 2022-11-04
- 1.0.0 — 2022-11-02

## README

# push-only

Simple way to add file with Node JS.

## Installation

```bash
npm i push-only
```

## Usage

```js
import push_only from "push-only";

async function run() {
  let result = await push_only({
    token: "your_github_token",
    repo: "user/repo",
    filename: "filename.txt",
    content: "content_in_base64",
  });
  console.log(result); // return "filename.txt" after success
}
run();
```

## Vite Compability

```js
export default defineConfig({
  resolve: {
    alias: {
      "node-fetch": "isomorphic-fetch",
    },
  },
});
```

---
_Source: https://npm.io/package/push-only · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
