open-index/open-npm huggingface dataset:
npm package: @latte-ui/legacy-css
Description: <a href="https://bas.dev" target="_blank" rel="noopener"> 	<img src="https://bas.dev/module/@bas/website/resource/image/logo.svg" alt="Bas Milius Logo" height="60" width="60" /> </a>
Author: Bas Milius
Latest version: 2.0.0-dev.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<a href="https://bas.dev" target="_blank" rel="noopener">
	<img src="https://bas.dev/module/@bas/website/resource/image/logo.svg" alt="Bas Milius Logo" height="60" width="60" />
</a>

---

# Latte UI
An easy-to-use UI library created by [Bas Milius](https://bas.dev).

### ⚠️ Early development
This version of Latte UI is still in development, and you should expect a lot of breaking
changes. Please create issues for missing features or regressions so that we can fix them
as soon as possible.

### 🚀 Get started
We haven't released a npm package yet, so working with our library is a bit different. Follow
the steps below to get a project up and running. The Yarn package manager is required.
- Clone the project.
- Create a Vue UI application inside the packages-folder.
- Import LatteUI and use it as a plugin with Vue.

### ☎️ Want to use 1.x?
Visit the documentation website at [latte-ui.com](https://latte-ui.com) to learn more or
look for our [GitHub Repo](https://github.com/basmilius/latte-ui) to view the source code.
npm package: @latte-ui/vuex-composables
Description: A set of utility composables for Vuex stores and modules.
Author: Bas Milius
Latest version: 2.0.15
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<a href="https://bas.dev" target="_blank" rel="noopener">
	<img src="https://bas.dev/module/@bas/website/resource/image/logo.svg" alt="Bas Milius Logo" height="60" width="60" />
</a>

---

# Vuex Composables
A set of utility composables to use with Vuex stores and modules. These composables
create strongly typed references to your actions, getters and mutations in your
stores/modules.

#### ⚠️ Before using this library
You should create your own composables so everything will be strongly typed in
your code. You should create interfaces of your actions, getters and mutations 
and pass them to these functions.

#### 🧐 Example interfaces
```typescript
export interface AuthActions
{
	initialize(): Promise<void>;
	loadAuthenticatedUser(): Promise<void>;
	login(payload: LoginActionPayload): Promise<void>;
	setToken(token: string | null): void;
	setUser(user: GAuthenticatedUser | null): void;
}

export interface AuthGetters
{
	isAuthenticated: boolean;
	token: string | null;
	user: GAuthenticatedUser | null;
}

export interface AuthMutations
{
	updateToken(token: string | null): void;
	updateUser(user: GAuthenticatedUser | null): void;
}

export interface AuthState
{
	token: string | null;
	user: GAuthenticatedUser | null;
}
```

#### Implementation of useActions
```typescript
// Own composable that calls useActions()
export function useAuthActions<K extends keyof AuthActions>(actions: K[]): UseActions<AuthActions>
{
	return useActions<AuthActions, K>("auth", actions);
}

// Example of using that composable
defineComponent({
    setup()
    {
        const {loadAuthenticatedUser, login} = useAuthActions(["loadAuthenticatedUser", "login"]);
        return {loadAuthenticatedUser, login}
    }
});
```

#### Implementation of useGetters
```typescript
// Own composable that calls useGetters()
export function useAuthGetters<K extends keyof AuthGetters>(getters: K[]): UseGetters<AuthGetters>
{
	return useGetters<AuthGetters, K>("auth", getters);
}

// Example of using that composable
defineComponent({
    setup()
    {
        const {isAuthenticated, user} = useAuthGetters(["isAuthenticated", "user"]);
        return {isAuthenticated, user}
    }
});
```

#### Implementation of useMutations
```typescript
// Own composable that calls useGetters()
export function useAuthMutations<K extends keyof AuthMutations>(mutations: K[]): UseMutations<AuthMutations>
{
	return useMutations<AuthMutations, K>("auth", mutations);
}

// Example of using that composable
defineComponent({
    setup()
    {
        const {updateToken} = useAuthMutations(["updateToken"]);
        return {updateToken}
    }
});
```

---

*Created by [Bas Milius](https://bas.dev).*
npm package: @lattebank/analytics.js-core
Description: The hassle-free way to integrate analytics into any web application.
Author: Segment
Latest version: 0.0.1

# analytics.js-core

[![CircleCI](https://circleci.com/gh/segmentio/analytics.js-core.svg?style=shield&circle-token=802e83e9a76e911d83be24df8497b6283ee5dfeb)](https://circleci.com/gh/segmentio/analytics.js-core)
[![Codecov](https://img.shields.io/codecov/c/github/segmentio/analytics.js-core/master.svg?maxAge=2592000)](https://codecov.io/gh/segmentio/analytics.js-core)

This is the core of [Analytics.js][], the open-source library that powers data collection at [Segment](https://segment.com).

To build this into a full, usable library, see the [Analytics.js](https://github.com/segmentio/analytics.js) repository.

## License

Released under the [MIT license](License.md).


[analytics.js]: https://segment.com/docs/libraries/analytics.js/
npm package: @lattepress/lptools
Description: A reports tool.
Author: Rahul Arya
Latest version: 1.0.5

# Daily report builder for LattePress developers

This tool simplifies the daily report generator for LattePress developers.

A report generated by this tool:

```
Thursday, 5 September
Total time spent: 3 hours, 49 minutes,  [3.82]
Worked on total 10 tasks.
Total 10 time entries.


TASKS:
---------------
SL | TASK                                                      | TIME
1  | Nulla purus risus, interdum non se                        | 8min
2  | Etiam eu ipsum dui, et tincidunt orci.                    | 44min

COMMITS (16)
---------------
https://github.com/lattepress/xyz/commit/b2cac913f9038d31b209885b3a31ssa52671c152

Auto generated by "Report builder".
```

## Installation

Install this tool globally for easier access:

`npm i --global @lattepress/lptools`

After installation all required config must be set and you can use this command
to set config:

`lptools set email yourTWemail@domain.com`

required config to run this tool are:

- email [your teamwork email]
- password [your teamwork password]
- github_username [your github username]
- github_token [your github token, can be generated here:
  https://github.com/settings/tokens. You must select all repo privilege to
  allow this tool to read commits.]

## Generate report

After installation you can simply run this command:

`lptools build 2019-09-05`

If you do not pass the date, it will always build report for yesterday.

Happy coding! Let me know if there is any suggestion and PR are most welcome.

Thanks

Rahul Aryan
npm package: @latteswap/sdk
Description: 🛠 An SDK for building applications on top of Latteswap.
Latest version: 1.1.1

# Sushiswap SDK

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

This modifies uniswap-sdk's UniswapV2Factory address. The new address for sushiswap is  `0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac`.

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/sushiswap/sushiswap-sdk.git
```

Move into the sushiswap-sdk working directory

```sh
cd sushiswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @lattice-node/core
Description: Open protocol for AI agent communication
Latest version: 0.1.0

# Lattice

**Open protocol for AI agent communication.**

Connect any AI agent to any other — regardless of model or platform.

## The problem

AI agents today are isolated. GPT-4 can't talk to Claude. Claude can't talk to Gemini. Every team builds their own glue code from scratch.

## The solution

Lattice is a lightweight protocol that gives every AI agent a common language.
```
AgentA → [Lattice Server] → AgentB
AgentB → [Lattice Server] → AgentA
```

## Quick start
```bash
npm install @lattice-node/core
```
```typescript
import { LatticeClient } from '@lattice-node/core'

const agent = new LatticeClient('MyAgent', 'ws://localhost:8080')
await agent.waitForOpen()

agent.onResult((msg) => {
  console.log('Got result:', msg.payload)
})

agent.send('OtherAgent', 'task', 'Summarize this document')
```

## How it works

1. Each agent connects to a Lattice server via WebSocket
2. Agents send `LatticeMessage` packets with a standard format
3. The server routes messages to the correct agent by name
4. Any agent can talk to any other agent

## Message format
```typescript
type LatticeMessage = {
  id: string        // unique message ID
  from: string      // sender agent name
  to: string        // recipient agent name
  type: 'task' | 'result' | 'error'
  payload: unknown  // any data
  timestamp: number
}
```

## Status

Early development. Contributions welcome.

## License

MIT