open-index/open-npm huggingface dataset:
npm package: @rshackleton/gatsby-theme-kontent
Description: Gatsby theme containing plugins to super-charge Kentico Kontent projects.
Author: Richard Shackleton
Latest version: 1.0.1

# `gatsby-theme-kontent`

## Quick Start

```sh
npm install @rshackleton/gatsby-theme-kontent
```

```sh
yarn add @rshackleton/gatsby-theme-kontent
```

Add the theme to your `gatsby-config.js`.

```js
module.exports = {
  plugins: [
    {
      resolve: `@rshackleton/gatsby-theme-kontent`,
      options: {
        kontent: {
          // @kentico/gatsby-source-kontent options
        },
        kontentImage: {
          // @rshackleton/gatsby-transformer-kontent-image options
        },
      },
    },
  ],
};
```

## What does it do?

The `gatsby-theme-kontent` theme includes two key plugins for developing a Gatsby website with [Kentico Kontent](https://kontent.ai/).

Firstly, the official `@kentico/gatsby-source-kontent` plugin is included. The theme accepts the same options as the source plugin under the `kontent` configuration key.

Secondly, the `@rshackleton/gatsby-transformer-kontent-image` plugin is included. This adds support for [Gatsby Image](https://www.gatsbyjs.org/packages/gatsby-image/) to the `KontentAsset` GraphQL type.

## Contributing

To contribute to this package please fork the repository to make your changes.

This project makes use of [changesets](https://github.com/atlassian/changesets). When making changes please ensure a new changeset is created to define how the package versions should be updated.

Once you are ready open a new PR into this repository with a clear and detailed description of the changes made and which issue(s) are affected.

## Development

To work on this repository you can use the yarn workspaces to test the plugin using the included Gatsby website. This can be done by running `yarn start` from the root or `site` directory.
npm package: @rshackleton/gatsby-transformer-kontent
Description: Transforms assets from Kontent.ai into nodes usable by Gatsby Image
Author: Richard Shackleton
Latest version: 0.1.0-alpha.9

# gatsby-transformer-kontent

Converts assets from [Kentico Kontent](https://kontent.ai/) to nodes that can be consumed by [`gatsby-image`](https://www.gatsbyjs.org/packages/gatsby-image/).

## Install

```
npm install --save @rshackleton/gatsby-transformer-kontent
```

```
yarn add @rshackleton/gatsby-transformer-kontent
```

## How to use

Add the plugin to your `gatsby-config.js`:

```js
module.exports = {
  plugins: [
    {
      resolve: `@rshackleton/gatsby-transformer-kontent`,
      options: {
        // See "Options" below.
      },
    },
  ],
};
```

## Options

The plugin currently supports a single option to create local `File` nodes that can be further transformed by [`gatsby-transformer-sharp`](https://www.gatsbyjs.org/packages/gatsby-transformer-sharp/).

```js
module.exports = {
  plugins: [
    {
      resolve: `@rshackleton/gatsby-transformer-kontent`,
      options: {
        local: true,
      },
    },
  ],
};
```
npm package: @rshaker/canvas-calc
Description: A library of functions for Node and browser environments.
Author: Ron Shaker
Latest version: 0.1.7

# canvas-calc

Functions for calculating the interactions of polygons with a rectangular canvas.

```ts
// Example usage:
const canvasWidth = 100;
const canvasHeight = 100;
const polygons: Polygon[] = [
    {
        points: [
            { x: 10, y: 10 },
            { x: 20, y: 10 },
            { x: 20, y: 20 },
            { x: 10, y: 20 }
        ]
    },
    // Add more polygons as needed
];

const uncoveredCoordinates = findUncoveredCoordinates(canvasWidth, canvasHeight, polygons);
console.log(uncoveredCoordinates);
```
npm package: @rshaker/multiselect-blockly-example
Description: Demonstrates usage of @rshaker/multiselect-blockly plugin
Author: Ron Shaker
Latest version: 0.1.10


# multiselect-blockly-example 

[![Built on Blockly](https://tinyurl.com/built-on-blockly)](https://github.com/google/blockly)

A sample node project demonstrating usage of the [multiselect-blockly plugin](https://www.npmjs.com/package/@rshaker/multiselect-blockly).

To activate multiselect mode, either shift-click on a block *or* use the rectangular selection tool (shift-click-drag). Clicking on the background or any unselected block will exit multiselect mode.

Click [here](https://rshaker.github.io/multiselect-blockly-example/) for a live demo.

## Installation

If you're planning on doing development, download the complete project including source code from github. Otherwise, the package from npm is capable of deployment, but lacks the typescript and build scripts.

### From github
```bash
git clone git@github.com:rshaker/multiselect-blockly-example.git
cd ./multiselect-blockly-example

npm install
npm run build
npm run serve
```

### From npm
```bash
npm pack @rshaker/multiselect-blockly-example
tar xzf rshaker-multiselect-blockly-example-x.x.x.tgz
cd ./package

npm install
npm run serve
```

Then browse to http://localhost:8080/

## License
MIT
npm package: @rshaker/smoketest-npm
Description: A minimal project demonstrating how to bundle Typescript code for distribution as a node package.
Author: Ron Shaker
Latest version: 1.2.1

# smoketest-npm

<img width="250px" src="assets/campfire.png">

A minimal template project demonstrating how to bundle Typescript code for distribution as a nodejs package, and as a umd-compatible download through [unpkg.com](https://unpkg.com/@rshaker/smoketest-npm).

## Usage

```sh
% git clone https://github.com/rshaker/smoketest-npm
% cd smoketest-npm
```

```sh
% nvm use

Found '/Users/rshaker/smoketest-npm/.nvmrc' with version <v18.12.1>
Now using node v18.12.1 (npm v9.2.0)
```

```sh
% npm install
% npm build
```

```sh
% node test/testNode.js

Node.js test passed successfully.
```

```sh
% open test/testBrowser.html

Browser test passed successfully.
```
npm package: @rshaker/smoketest-npm-dependent
Description: A package with dependency on smoketest-npm.
Author: Ron Shaker
Latest version: 1.1.0

# smoketest-npm-dependent

<img width="250px" src="assets/tent2.png">

A package that depends on @rshaker/smoketest-npm.

## Usage

```sh
% git clone https://github.com/rshaker/smoketest-npm-dependent
% cd smoketest-npm-dependent
```

```sh
% nvm use

Found '/Users/rshaker/smoketest-npm/.nvmrc' with version <v18.12.1>
Now using node v18.12.1 (npm v9.2.0)
```

```sh
% npm install
% npm build
```

```sh
% node test/testNode.js

Node.js test passed successfully.
```

```sh
% open test/testBrowser.html

Browser test passed successfully.
```
npm package: @rshaw2/demo-package1
Description: Just a demo project to test and understand how everything works in a package at npmjs
Author: Rahul Kumar Shaw
Latest version: 0.0.3

# DemoPackage1

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.0.0.

## Code scaffolding

Run `ng generate component component-name --project DemoPackage1` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project DemoPackage1`.
> Note: Don't forget to add `--project DemoPackage1` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build DemoPackage1` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build DemoPackage1`, go to the dist folder `cd dist/demo-package1` and run `npm publish`.

## Running unit tests

Run `ng test DemoPackage1` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.