# srqget

> Simple fetcher

Latest version **1.0.0** (published 2022-01-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install srqget
pnpm add srqget
yarn add srqget
bun add srqget
```

## 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.0 |
| Published | 2022-01-31 |
| First published | 2022-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 28 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | MXPSQL |
| Maintainers | mxpsql-server-20953-onetechguy |
| Keywords | Web |

## Links

- npm: https://www.npmjs.com/package/srqget
- Repository: https://github.com/MOALib/SRQGet
- Homepage: https://github.com/MOALib/SRQGet#readme
- Issues: https://github.com/MOALib/SRQGet/issues
- npm.io page: https://npm.io/package/srqget

## Dependencies (1)

- [deasync-promise](https://npm.io/package/deasync-promise.md) ^1.0.1

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2022-01-31

## README

# SRQGet

Very simple fetcher class.

```js
// Documentation
const SRQGet = require("srqget");
const client = SRQGet.SRQGetNetworkClient();

// promise based
// Api: client.getPromise(url, options, fileopts);
// fileopts properties:
// * path/file
// * encoding
// * flags
// * mode
(async function(){
	var result = await client.getPromise("https://google.com", {}, {});
    console.log(result);
})();

// callback based
// Api: client.getCallback(url, options, fileopts, callback, dis);
// Note: dis is not needed usually, it is for internal use only
client.getCallback("https://google.com", {}, {}, function(err, res){
	console.log(res);
});

// synchronous operation
// Api: client.get(url, options, fileopts);
var r = client.get("https://google.com", {}, {});
console.log(r);

```

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