open-index/open-npm huggingface dataset:
npm package: @lotosui/web-components
Description: LotOS UI Web Components prototype - framework-agnostic custom elements powered by @lotosui/core tokens.
Author: Lotos Technologies
Latest version: 0.1.0

# @lotosui/web-components

Framework-agnostic custom elements for LotOS UI.

Current status: prototype package with two production-style components:

- `<lotos-button>`
- `<lotos-input>`

## Quick start

```ts
import { registerLotosWebComponents } from '@lotosui/web-components';

registerLotosWebComponents();
```

```html
<lotos-button variant="primary" size="md">Get Started</lotos-button>
<lotos-button variant="outline" size="sm">Learn More</lotos-button>
<lotos-input type="email" label="Work Email" placeholder="you@company.com"></lotos-input>
```

## Attributes (`lotos-button`)

- `variant`: `primary | secondary | ghost | destructive | outline`
- `size`: `sm | md | lg`
- `disabled`: boolean
- `full-width`: boolean
- `type`: `button | submit | reset`

## Attributes (`lotos-input`)

- `type`: `text | email | password | number | tel | url | search | date | time`
- `label`: string
- `placeholder`: string
- `value`: string
- `helper-text`: string
- `error`: string
- `size`: `sm | md | lg`
- `required`: boolean
- `disabled`: boolean
- `readonly`: boolean
- `name`: string
- `id`: string

## Notes

- Uses `@lotosui/core` design tokens.
- This package is the bridge toward multi-framework adapters (Laravel, Django, etc.).
npm package: @lotr-sdk/movie
Description: Lord of The Rings SDK - Movie
Author: Luiz Gama
Latest version: 0.0.5

# @lotr-sdk

This SDK provides an easy-to-use interface for developers to consume information about The Lord of the Rings movies. It covers the following endpoints:

- /movie
- /movie/{id}
- /movie/{id}/quote

## Installation

This SDK can be installed using npm, pnpm or yarn:

```
npm install @lotr-sdk

pnpm add @lotr-sdk

yarn add @lotr-sdk
```

## Usage

To use this SDK, first require the package:

```typescript
// CommonJS
const { Movie } = require('@lotr-sdk');

// ES6
import { Movie } from '@lotr-sdk'
```

Then, you can make calls to the API using the provided methods. For example, to get information about all the Lord of the Rings movies:

```typescript
Movie.getMovies()
  .then(movies => console.log(movies))
  .catch(error => console.error(error));
```

To get information about a specific movie:

```typescript
lotr.getMovieById(movieId)
  .then(movie => console.log(movie))
  .catch(error => console.error(error));
```

To get quotes from a specific movie:

```typescript
lotr.getMovieQuotes(movieId)
  .then(quotes => console.log(quotes))
  .catch(error => console.error(error));
```

## Testing

This SDK includes unit tests using [Jest](https://jestjs.io/). To run the tests, use the following command:

```bash
npm test
```

## Contributing

If you encounter any issues or have suggestions for improvements, please feel free to create an issue or submit a pull request. All contributions are welcome!