open-index/open-npm huggingface dataset:
npm package: @soundboks/reslock-client
Description: A nodejs client library for interfacing with a relock server
Author: Mark-Oliver Junge
Latest version: 1.5.2

# reslock-client
A nodejs client library for interfacing with a relock server


### How to use
`yarn add @soundboks/reslock-client`

```ts
let client: ReslockClient = await ReslockClient.connect("http://<domain>:4000")

const { resources, _id } = (await client.acquire([
    { resource_set: "A" },
    { resource_set: "B", properties: { foo: "bar" }}
])).unwrap() // assume we got our stuff and throw if we didn't

await client.unlock(_id)
```

Check the test directory for more examples or just look at the type declarations for ReslockClient.
npm package: @soundbug/example-component
Description: intro component
Latest version: 1.0.0

# demo component

@soundbug/example-component

intro component

## API

| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
| ------ | ---- | ---- | ---- | ------ | ---- |
|        |      |      |      |        |      |