open-index/open-npm huggingface dataset:
npm package: @kasz/virtlang
Description: Virt(ual)Lang(uage) - General Purpose Programming Language
Author: KAS Dev
Latest version: 0.1.2

# VirtLang Interpreter

> ## Deprecation Warning
> Since 18th March 2025 this module will be deprecated and no longer maintained.

VirtLang is a simple interpreted language designed for educational purposes. This README provides instructions on how to set up, build, and run the VirtLang interpreter.

## Getting Started

### Prerequisites

Ensure you have Node.js and npm installed on your machine. You can download them from [Node.js official website](https://nodejs.org/).

### Installation

Clone the repository and install the dependencies:

```sh
mkdir myVirtLangProject && cd MyVirtLangProject
npm install @kasz/virtlang
```

## Usage

Create a `.vl` file with your VirtLang code. For example, `main.vl`:

```plaintext
--> i am a comment

out.print("Hello world this is some message")

--> i am another comment

--<
some comments
out.error("Error here")
out.warn("Hello world this is a warning")
>--

out.print("Hello world this is some message 22")
```

Create a `main.js` file with the following code:

```js
const { Parser, createGlobalEnv, evaluate } = require("@kasz/virtlang");
const { readFileSync } = require("fs");

const code = readFileSync("main.vl", "utf-8");

const parser = new Parser();
const env = createGlobalEnv();

const ast = parser.produceAST(code);
evaluate(ast, env);
```

Run the interpreter:

```sh

node main.js

```

## Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
npm package: @kata-center/react-animations-library
Description: My saved animations for React projects
Latest version: 0.0.8

# react-animations-library

Orbit-style animation component for React + TypeScript. Ships with a single `CoreOrbit` component that arranges labels around a glowing center (logo or text) and rotates them on an interval. All sizing is driven by `font-size`, so you can scale the graphic by passing a `size` prop.

## Install

```bash
npm install @kata-center/react-animations-library
# or
pnpm add @kata-center/react-animations-library
```

## Usage

```tsx
import { CoreOrbit, type CoreNode } from "@kata-center/react-animations-library";
// Vite/Webpack/Rspack: CSS is auto-imported from the bundle.
// If your setup needs an explicit import, use the line below instead:
// import "@kata-center/react-animations-library/styles.css";

const nodes: CoreNode[] = [
  { label: "Tỉ mỉ", tone: "blue" },
  { label: "Tận tâm", tone: "green" },
  { label: "Chuyên nghiệp", tone: "orange" },
  { label: "Chu đáo", tone: "purple" },
];

export function Example() {
  return (
    <CoreOrbit
      nodes={nodes}
      center={{ logoSrc: "/logo.png" }}
      useLine
      size={16} // px, or pass "18px"/"1rem"
    />
  );
}
```

### Props
- `nodes: CoreNode[]` — list of orbiting labels with tone (`blue | green | orange | purple`).
- `center: { logoSrc?: string; label?: string; }` — provide either `logoSrc` or fallback `label`.
- `useLine?: boolean` (default `true`) — show/hide lines connecting nodes to the center.
- `size?: number | string` (default `16px`) — root font-size for the SVG; scales all internal dimensions (em units).
- `className?: string` — extra class names applied to the SVG element.

## Build locally

```bash
cd react-animations-library
npm install
npm run build
```

Outputs to `dist/` with JS, d.ts, and CSS.

## Publish to npm (public)

```bash
cd react-animations-library
npm version patch   # or minor/major
npm publish --access public
```

For an org scope (e.g., `@your-org/react-animations-library`), rename the `"name"` in `package.json`, ensure the scope sets `access=public`, and run the same publish command.

You’ll need an npm token: `npm login` (or `npm config set //registry.npmjs.org/:_authToken <token>`). Double-check `package.json` `files` and `exports` before publishing.

More details: `docs/publish.md`.

## Project structure
- `src/components/CoreOrbit/` — component + styles.
- `src/index.ts` — public exports.
- `docs/` — publish guide, component docs (`docs/components/core-orbit.md`).
- Animations docs: `docs/components/animations.md` (liệt kê tất cả effect/animation và props).
- `examples/basic/` — Vite + React sample page (uses local file dependency to this package).

To run example locally:
```bash
cd react-animations-library
npm install
npm run build
cd examples/basic
npm install
npm run dev
```
npm package: @kata-codes/yamdbf-log-to-file
Description: YAMDBF plugin for writing logs to a log file.
Author: katagatame_
Latest version: 1.2.4

# yamdbf-log-to-file
[![Discord](https://discordapp.com/api/guilds/246683178134142979/embed.png)](https://discord.gg/M9kg8Jt)
[![npm](https://img.shields.io/npm/v/@kata-codes/yamdbf-log-to-file.svg?maxAge=3600)](https://www.npmjs.com/package/@kata-codes/yamdbf-log-to-file)
[![dependencies Status](https://david-dm.org/kata-codes/yamdbf-log-to-file/status.svg)](https://david-dm.org/kata-codes/yamdbf-log-to-file)
[![devDependencies Status](https://david-dm.org/kata-codes/yamdbf-log-to-file/dev-status.svg)](https://david-dm.org/kata-codes/yamdbf-log-to-file?type=dev)
[![Travis](https://travis-ci.org/kata-codes/yamdbf-log-to-file.svg?branch=master)](https://travis-ci.org/kata-codes/yamdbf-log-to-file)

`yamdbf-log-to-file` is a plugin for Discord bots that are written with YAMDBF+Discord.js that
extends the logging functionality to write all logs issued through the YAMDBF Logger to
a log file.

# Installation
Install the package via `npm`:
```
npm i --save @kata-codes/yamdbf-log-to-file
```
> Note: This plugin depends on YAMDBF >3.0.0, so obviously make sure `yamdbf` is installed.

# Usage
### `logToFile`
Import `logToFile` from the plugin into your YAMBDF Client:
```js
const { logToFile } = require('@kata-codes/yamdbf-log-to-file');
```

### `logsPath`
You should add a `logsPath` entry into your config file specifying where you would like the logs to populate.

After updating your config, add the following to your YAMDBF Client:
```js
const logsPath: string = (config.logsPath) ? config.logsPath : __dirname;
```
> Note: The path must be an absolute path.

### `plugins` array
Pass `logToFile(logsPath)` into your YAMDBF Client options plugins array field:
```js
const client = new Client({
	...
	plugins: [logToFile(logsPath)]
});
```

### Log Persistence
You can optionally specify a number of days to keep your logs by passing a `number` as a parameter along with the `logsPath`:
```js
const client = new Client({
	...
	plugins: [logToFile(logsPath, 7)]
});
```
> Note: If no `number` is specified, `yamdbf-log-to-file` will maintain the last three (3) days of logs.