open-index/open-npm huggingface dataset:
npm package: @sthrvr/lms-adapters
Description: SCORM and AICC compliant communication objects for transferring data between an application and an LMS system.
Author: South River Studios, LLC
Latest version: 0.1.1

# SRS LMS Adapters

## About

SCORM and AICC compliant communication objects for transferring data between an application and an LMS system.

## Getting Started

### Installation

```sh
npm i @sthrvr/lms-adapters
```

## Usage

```javascript

// import either adapter
import AdapterSCORM from '@sthrvr/lms-adapters'
import AdapterAICC from '@sthrvr/lms-adapters'

// create a new adapter
const version = AdapterSCORM.Versions.V1_2
const scorm = new AdapterSCORM(version)
let lms_user

// initialize object to start communication
scorm.initialize()
     .then(user => {
        lms_user = user
    })

// read user
scorm.read(user => {
    lms_user = user
})

// update and write user
lms_user.percent_complete = 1
scorm.write(lms_user)

// end session
if (scorm.terminate()) {
    lms_user = null
}

```

## Roadmap

- [ ] Improved documentation
- [ ] Add Changelog
- [ ] xAPI support

## Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## License

Distributed under the MIT License. See `LICENSE` for more information.

## Contact

South River Studios, LLC - [@\_southriver\_](https://twitter.com/_southriver_) - dev@southriverstudios.com

Project Link: [https://github.com/SouthRiverStudios/srs-lms-adapters](https://github.com/SouthRiverStudios/srs-lms-adapters)


## Legacy Version

See `legacy/README.md`
npm package: @sti-uff/cli
Description: cli para configuração de ambiente da Sti Uff.
Author: Leonardo Gurgel
Latest version: 3.1.1

# Sti Cli
Interface de linha de comando para configuração de ambiente.  
Antes de tentar utilizar, olhe a [seção compatibilidade](#Compatibilidade)

# Requisitos
- Node >= 14.18
- Bash, Zsh ou Fish
- Ubuntu/Debian e derivados, Fedora Workstation, Arch e derivados

# Instalação
```bash
  npm i -g @sti-uff/cli
```

Após, adicione o seguinte em _~/.bashrc_, _~/.zshrc_ ou _~/.config/fish/config.fish_:
<details>
  <summary>Bash</summary>
  Utilize o seguinte comando:

  ```bash
  echo "eval \$(sti env bash)" >> ~/.bashrc
  ```
</details>

<details>
  <summary>Zsh</summary>
  Utilize o seguinte comando:

  ```bash
  echo "eval \$(sti env zsh)" >> ~/.zshrc
  ```
</details>

<details>
  <summary>Fish</summary>
  Utilize o seguinte comando:

  ```bash
  echo "sti env fish | source" > ~/.config/fish/conf.d/sti.fish
  ```
</details>

# Uso
É possível usar help em qualquer lugar da aplicação, por exemplo:

Para exibir a lista de comandos em repo:
```bash
  sti repo help
```

Para olhar a descrição e opções de clone:
```bash
  sti repo help clone
```

Para exibir todos os módulos da cli:
```bash
  sti help
```

## Instalador de Pacotes
Para exibir os pacotes disponíveis para instalação, use:
```bash
  sti ls
```

## Vpn

Simplesmente use:
```bash
  sti vpn start
```
A cli pedirá por login e instalará conforme necessidade  
Verifique se tudo está funcionando corretamente:
```bash
  sti vpn status
```

Após a instalação automática, você poderá utilizá-la pelo seu desktop linux:  
![vpn_example](./docs/sti_vpn_gnome.png)

## Instalar e remover pacotes
É possível instalar e desinstalar pacotes necessários para desenvolvimento.

Para listar os pacotes disponíveis, utilize:
```bash
  sti list
```

Também é possível listar todos existentes:
```bash
  sti list-all
```

Para instalar um ou mais pacotes:
```bash
  sti install [PACOTES_SEPARADOS_POR_ESPAÇO]
```

## Repo

Para fazer login, será necessário [criar e copiar um token de acesso no gitlab](https://app.sti.uff.br/gitlab/profile/personal_access_tokens)  
**todas as permissões são necessárias para o token**

Com a cli, você pode clonar projetos à vontade:
```bash
  sti repo clone apps/sispos-gestao-academica
```
O login com token será solicitado conforme necessidade

Também é possível atualizar repositórios que você tenha clonado sem a cli:
```bash
  sti repo update-origin
```
Desta forma, o token será adicionado para que não seja necessário utilizar senha a cada 'git push'

## Oracle

Para criar um usuário local no container, use:

Após isso, é possível conectar-se ao ambiente de testes com:
```bash
  sti oracle test
```
Ambientes disponíveis:
- development (remoto)
- test (server local no Docker)
- production

Também é possível conectar como sysdba:
```bash
  sti oracle test --sys
```

## Mysql
Para conectar-se ao mysql, use:
```bash
  sti mysql development
```
Ambientes disponíveis:
- development (server local no Docker)
- production
npm package: @stianlarsen/copy-to-clipboard
Description: A lightweight and modern JavaScript utility function to copy text to the clipboard in web browsers that support the Clipboard API (with fallback support). Ideal for use in web applications and React projects (Javascript).
Author: Stian Larsen
Latest version: 1.0.4

# @stianlarsen/copy-to-clipboard

A robust, easy-to-use utility for copying text to the clipboard with a simple function call. Perfect for developers looking to implement a copy-to-clipboard feature in their web applications with minimal effort.

## Features

- **Secure Clipboard Access**: Utilizes the modern asynchronous Clipboard API with a fallback for older browsers.
- **Optional Callback Function**: Allows the execution of a callback function upon successful copy.
- **Easy to Implement**: A simple function call enables text copying to the clipboard.
- **Fallback for Non-Secure Contexts**: Ensures functionality in non-secure contexts or older browsers by using a textarea based method.

## Installation

Using npm:

```bash
npm install @stianlarsen/copy-to-clipboard
```

Or using yarn:

```bash
yarn add @stianlarsen/copy-to-clipboard
```

## Usage

Import the `copy` function and use it to copy text to the clipboard. You can also provide an optional callback function to execute upon successful copy:

### JSX (React | Vue | Angular etc..)

```jsx
import { copy } from "@stianlarsen/copy-to-clipboard";

const yourCallbackFunction = () => {
  console.log("Text successfully copied to clipboard!");
};

function App() {
  return (
    <button onClick={() => copy("Text to copy", yourCallbackFunction)}>
      Copy to Clipboard
    </button>
  );
}
```

### Usage in Basic JavaScript

```javascript
import { copy } from "@stianlarsen/copy-to-clipboard";

// Example function to call the copy functionality
function copyText() {
  const textToCopy = "Hello, clipboard!";
  copy(textToCopy, () => {
    console.log("Text successfully copied to clipboard!");
  });
}

// Trigger the copy function
copyText();
```

## Browser Compatibility

Designed to work in modern browsers with full support for the asynchronous Clipboard API. Includes a fallback mechanism for older browsers.

## Customization

There's no direct customization required for this utility, but it seamlessly integrates into any web application, allowing for customized button or trigger implementation for the copy action.

## Contributing

Contributions to `@stianlarsen/copy-to-clipboard` are welcome!

## License

`@stianlarsen/copy-to-clipboard` is [MIT licensed](./LICENSE).

## Contact

- GitHub: [@stianlars1](https://github.com/stianlars1)
- Website: [https://stianlarsen.com](https://stianlarsen.com)
- Email: [stian.larsen@mac.com](mailto:stian.larsen@mac.com)