open-index/open-npm huggingface dataset:
npm package: @senzil/desktop-screenshot
Description: Cross-platform screenshot module, using external tools
Author: SENZIL SRL
Latest version: 1.0.10-0

*Original fork from https://github.com/johnvmt/node-desktop-screenshot*

# node-desktop-screenshot #
Take a screenshot of the computer on which Node is running, using platform-specific external tools included with the package

Supports Windows (win32), OSX (darwin) and Linux platforms

Windows version uses nircmd (http://nircmd.nirsoft.net)
Linux version uses scrot

## Available Options ##

- buffered: return a Buffer insted of save a file.
- multi: enable snapshot of all present displays (display current).
- quality: JPEG quality (0 to 100).
- width: use in conjunction with height, or by itself to maintain aspect ratio.
- height: use in conjunction with width, or by itself to maintain aspect ratio.
- timestamp: use timestamp (true/false) to print datetime in screenshot. default true.
- caption: an string to print previous to timestamp.
- env: environment key/value variables to run the screenshot process.

## Returns ##
A promise (you can use a callback if you want)
if you set buffered:true you get a Buffer
if you save a file then you get the path

## Examples ##

### Full resolution ###
	var screenshot = require('desktop-screenshot');
	
    screenshot("screenshot.png", function(error, complete) {
        if(error)
            console.log("Screenshot failed", error);
        else
            console.log("Screenshot succeeded");
    });
    
### Resize to 400px wide, maintain aspect ratio ###

    var screenshot = require('desktop-screenshot');

    screenshot("screenshot.png", {width: 400}, function(error, complete) {
        if(error)
            console.log("Screenshot failed", error);
        else
            console.log("Screenshot succeeded");
    });
    
### Resize to 400x300, set JPG quality to 60% ###

    var screenshot = require('desktop-screenshot');

    screenshot("screenshot.jpg", {width: 400, height: 300, quality: 60}, function(error, complete) {
        if(error)
            console.log("Screenshot failed", error);
        else
            console.log("Screenshot succeeded");
    });
    
## TODOs ##
- Cropping
npm package: @senzing/rest-api-client-ng
Description: A package providing restful http interfaces to typescript interfaces to @senzing/senzing-api-server. Utilizes the OpenAPI spec defined in the https://github.com/senzing-garage/senzing-rest-api-specification repository.
Author: Ara Winters
Latest version: 8.0.0

# @senzing/rest-api-client-ng

If you are beginning your journey with
[Senzing](https://senzing.com/),
please start with
[Senzing Quick Start guides](https://docs.senzing.com/quickstart/).

You are in the
[Senzing Garage](https://github.com/senzing-garage)
where projects are "tinkered" on.
Although this GitHub repository may help you understand an approach to using Senzing,
it's not considered to be "production ready" and is not considered to be part of the Senzing product.
Heck, it may not even be appropriate for your application of Senzing!

[![npm version](https://badge.fury.io/js/%40senzing%2Frest-api-client-ng.svg)](https://badge.fury.io/js/%40senzing%2Frest-api-client-ng)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/senzing/rest-api-client-ng?color=%2300c4ff&logo=latest%20tag)
![GitHub package.json version](https://img.shields.io/github/package-json/v/senzing/rest-api-client-ng?color=orange&logo=latest&logoColor=blue)

## Overview

This project is a package that provides a Angular TypeScript REST client intended to be used as a dependency for other [Senzing](https://senzing.com/senzing-api/) projects like [@senzing/sdk-components-ng](https://www.npmjs.com/package/@senzing/sdk-components-ng]). This project should conform to the OAS schema defined in [Senzing/senzing-rest-api-specification](https://github.com/senzing-garage/senzing-rest-api-specification/blob/master/senzing-rest-api.yaml)

The usage for classes, models, and services can be found in the [documentation examples](http://hub.senzing.com/rest-api-client-ng/).

## Installation

```bash
npm install @senzing/rest-api-client-ng --save
```

## Building from source

```bash
git clone git@github.com:Senzing/rest-api-client-ng.git
cd rest-api-client-ng
npm install
npm run build:prod
npm run package
```

The steps above will checkout the repo and build the package to the ./dist/@senzing/rest-api-client-ng directory. The local package can then be statically installed by using first changing to the directory of your project and doing a `npm install ./relative/path/to/dist/@senzing/rest-api-client-ng/rest-api-client-ng.0.0.0.tgz` or npm link.

## Running unit tests

Run `npm run test` to execute the unit tests via [Karma](https://karma-runner.github.io).