open-index/open-npm huggingface dataset:
npm package: @jamesgopsill/repetier-server-client
Description: A Typescript client for Repetier Server
Author: James Gopsill
Latest version: 0.0.1

# Typescript Repetier Server Client

The client has been developed as part of a research programme investigating agent-based manufacturing systems ([Brokering Additive Manufacturing](https://dmf-lab.co.uk/brokering-additive-manufacturing/)). It is isomorphic capable of running on server (Node.js) and client-side (Browser) applications.

## Using the client

To install the package, use:

```
pnpm install @jamesgopsill/repetier-server-client
```

Use it in your code like so:

**Typescript / Javascript (ESM)**

```typescript
import { RepetierServerClient } from "@jamesgopsill/repetier-server-client"

// Create a new client.
const client = new RepetierServerClient("URL")

const r = await client.info()
if (!r.ok) {
	console.error("Could not access server")
	process.exit()
}
client.apiKey = r.data.apikey
const connected = await client.connect()
if (!connected) {
	console.error("Could not access server")
	process.exit()
}

const ping = await client.ping()
if (ping) console.log(ping)
```

**Javascript (CJS)**

```javascript
const {
	EigerClRepetierServerClientient,
} = require("@jamesgopsill/repetier-server-client")

// Create a new client.
const client = new RepetierServerClient("URL")

const r = await client.info()
if (!r.ok) {
	console.error("Could not access server")
	process.exit()
}
client.apiKey = r.data.apikey
const connected = await client.connect()
if (!connected) {
	console.error("Could not access server")
	process.exit()
}

const ping = await client.ping()
if (ping) console.log(ping)
```

## Client Docs

The client documentation have been produced using [TypeDoc](https://typedoc.org/) and can be accessed [here](https://jamesgopsill.github.io/repetier-server-client/). More details on the API can be found at [Repetier Server API](https://www.repetier-server.com/manuals/programming/API/index.html).

## Contributing

We would love to have additional contributors to the project to help us maintain and add functionality to the project.

## Support the Project

The project has been supported by the [EPSRC-funded Brokering Additive Manufacturing project (EP/V05113X/1)](https://gow.epsrc.ukri.org/NGBOViewGrant.aspx?GrantRef=EP/V05113X/1). More details on the project can be found at the [Design Manufacturing Futures Lab](https://dmf-lab.co.uk/) website.

To donate and provide continued support, please consider sponsoring the [maintainer](https://github.com/sponsors/jamesgopsill).
npm package: @jamesgopsill/thingiverse-client
Description: A Typescript client for the Thingiverse client.
Author: James Gopsill
Latest version: 0.0.1

# Thingiverse API Typescript Client

The client has been developed as part of a research programme investigating agent-based manufacturing systems. It is isomorphic capable of running on server (Node.js) and client-side (Browser) applications.

## Using thingiverse-client

To install the package, use your preferred package manager. E.g.,

```
pnpm install @jamesgopsill/thingiverse-client
```

You can then use in your code:

**Typescript / Javascript (ESM)**

```typescript
import { ThingiverseClient } from "@jamesgopsill/thingiverse-client"

// Create a new client. (Only setup for app tokens at the moment)
const client = new ThingiverseClient("APP_TOKEN")
const thing = "763622"

const r = await c.thing(thing)
if (r.ok && r.status == 200) {
	console.log(r.content)
}
```

**Javascript (CJS)**

```javascript
const { ThingiverseClient } = require("@jamesgopsill/thingiverse-client")

// Create a new client. (Only setup for app tokens at the moment)
const client = new ThingiverseClient("APP_TOKEN")
const thing = "763622"

const r = await c.thing(thing)
if (r.ok && r.status == 200) {
	console.log(r.content)
}
```

## Client Docs

The docs have been produced using [TypeDoc](https://typedoc.org/) and can be accessed [here](https://jamesgopsill.github.io/thingiverse-client/). More details on the API can be found at [Thingiverse Developers](https://www.thingiverse.com/developers).

## Contributing

We would love to have additional contributors to the project to help us maintain and add functionality to the project.

## Support the Project

The project has been supported by the [EPSRC-funded Brokering Additive Manufacturing project (EP/V05113X/1)](https://gow.epsrc.ukri.org/NGBOViewGrant.aspx?GrantRef=EP/V05113X/1). More details on the project can be found at the [Design Manufacturing Futures Lab](https://dmf-lab.co.uk/) website.

If you end up using the client a lot, please consider sponsoring the project to support the continued development and maintanence of the client.
npm package: @jamesgopsill/ultimaker-cloud-api-client
Description: A Typescript client for the Ultimaker Cloud API.
Author: James Gopsill
Latest version: 0.0.1

# Ultimaker Cloud API Client

The client is being developed as part of a research programme investigating agent-based manufacturing systems ([Brokering Additive Manufacturing](https://dmf-lab.co.uk/brokering-additive-manufacturing/)). It is isomorphic capable of running on server (Node.js) and client-side (Browser) applications.

**Still under construction**

## Client Docs

The client documentation have been produced using [TypeDoc](https://typedoc.org/) and can be accessed [here](https://jamesgopsill.github.io/ultimaker-cloud-api-client/). More details on the API can be found at [Ultimaker Cloud API](https://docs.api.ultimaker.com/).

## Contributing

We would love to have additional contributors to the project to help us maintain and add functionality to the project.

## Support the Project

The project has been supported by the [EPSRC-funded Brokering Additive Manufacturing project (EP/V05113X/1)](https://gow.epsrc.ukri.org/NGBOViewGrant.aspx?GrantRef=EP/V05113X/1). More details on the project can be found at the [Design Manufacturing Futures Lab](https://dmf-lab.co.uk/) website.

To donate and provide continued support, please consider sponsoring the [maintainer](https://github.com/sponsors/jamesgopsill).
npm package: @jamesgt/grid-context-menu
Description: Fancy grid context menu for html
Author: Jamesgt
Latest version: 2.4.0

# Grid context menu

Live demo https://jamesgt.gitlab.io/grid-context-menu

Code https://gitlab.com/Jamesgt/grid-context-menu

npm https://www.npmjs.com/package/@jamesgt/grid-context-menu

Usage from CDN
```html
<script src="https://unpkg.com/@jamesgt/grid-context-menu@2.4.0/GridContextMenu.js></script>
```

Discussion https://news.ycombinator.com/item?id=22609059
npm package: @jamesgt/use-template
Description: A declarative use template web component.
Author: Jamesgt
Latest version: 0.2.0

# use-template.js

A simple web component to allow declarative template instantiation.

## Examples

### Basic usage

From the following decalration

```html
  <template class="example">
    <div class="contentClass">content</div>
  </template>
  <use-template src=".example"></use-template>
```

this is created

```html
<use-template src=".example">
  #shadow-root
    <div class="contentClass">content</div>
</use-template>
```

### Conditional

With the `if` attribute the instancing is based on the attribute's value.

### Loops

With the `for` attribute the template will be instanced the given time.

#### Arrays

If the `for` attribute is present, then `target` and `attr` attributes can be used to customize each instance by assigning different values to an attribute.
npm package: @jameshenry/lerna-v9-oidc-publishing-example
Description: Example of trusted publishing with lerna v9, intentionally functionally useless.
Author: JamesHenry
Latest version: 0.1.0

# `@jameshenry/lerna-v9-oidc-publishing-example`

Example of trusted publishing with lerna v9, intentionally functionally useless.