open-index/open-npm huggingface dataset:
npm package: @notcc/logic
Description: Game logic for NotCC, a Chip's Challenge 2® emulator
Author: G lander
Latest version: 1.1.7

# NotCC logic

This package contains all the game logic for NotCC, a Chip's Challenge 2® emulator.

## Legal notice

Chip's Challenge is a registered trademark of Bridgestone Media Group LLC, used here for identification purposes only. Not affiliated with, sponsored, or endorsed by Bridgestone Media Group LLC.

## Example

```ts
// Verify a level's built-in solution

import { parseC2M, createLevelFromData, GameState } from "@notcc/logic"
import { readFileSync } from "fs"

const levelData = parseC2M(readFileSync("./funLevel.c2m").buffer)

const level = createLevelFromData(levelData)

level.playbackSolution(levelData.associatedSolution)

let bonusTicks = 60 * 60

while (level.gameState === GameState.PLAYING && bonusTicks > 0) {
	level.tick()
	if (level.solutionSubticksLeft === Infinity) {
		bonusTicks -= 1
	}
}

console.log(`Level built-in solution result: ${GameState[level.gameState]}`)
```
npm package: @notchafrica/nuxt-extended-docs
Description: [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href] [![lerna][lerna-src]][lerna-href]
Latest version: 2.0.1

# @notchafrica/nuxt-extended-docs

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![lerna][lerna-src]][lerna-href]

> Create your documentation with @nuxt/content docs theme in seconds!

## Getting Started

```bash
# Yarn
yarn create nuxt-extended-docs <project-name>

# NPX
npx create-nuxt-extended-docs <project-name>
```

It's as simple as that!

[📖 Read more](https://content.nuxtjs.org/themes/docs)

## License

[MIT License](../../LICENSE)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@nuxt/content-theme-docs/latest.svg
[npm-version-href]: https://npmjs.com/package/@notchafrica/nuxt-extended-docs
[npm-downloads-src]: https://img.shields.io/npm/dt/@nuxt/content-theme-docs.svg
[npm-downloads-href]: https://npmjs.com/package/@notchafrica/nuxt-extended-docs
[license-src]: https://img.shields.io/npm/l/@nuxt/content.svg
[license-href]: https://npmjs.com/package/@nuxt/content
[lerna-src]: https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg
[lerna-href]: https://lerna.js.org/
npm package: @notcool100/nepali-date-converter
Description: Accurate Bikram Sambat (BS) and Gregorian (AD) calendar converter for Nepal
Author: AstroFinance
Latest version: 1.0.0

# Nepali Date Converter

A lightweight, accurate TypeScript library for converting between Gregorian (AD) and Bikram Sambat (BS) calendars.

## Features

- ✅ Convert AD to BS and BS to AD
- ✅ Support for BS years 2000-2100 (AD 1943-2043)
- ✅ Full TypeScript support
- ✅ Comprehensive validation
- ✅ Date formatting utilities
- ✅ Month names in English and Nepali
- ✅ Zero dependencies
- ✅ Thoroughly tested

## Installation

```bash
npm install @astrofinance/nepali-date-converter
```

## Usage

```typescript
import { adToBs, bsToAd, formatBsDate } from '@astrofinance/nepali-date-converter';

// Convert AD to BS
const adDate = new Date(2025, 0, 13); // January 13, 2025
const bsDate = adToBs(adDate);
console.log(bsDate); // { year: 2081, month: 9, day: 28 }

// Convert BS to AD
const bs = { year: 2081, month: 9, day: 28 };
const ad = bsToAd(bs);
console.log(ad); // 2025-01-13

// Format BS date
const formatted = formatBsDate(bsDate);
console.log(formatted); // "2081-09-28"
```

## API

### `adToBs(adDate: Date): BsDate`
Convert a Gregorian date to Bikram Sambat.

### `bsToAd(bsDate: BsDate): Date`
Convert a Bikram Sambat date to Gregorian.

### `isBsDateValid(year: number, month: number, day: number): boolean`
Validate a BS date.

### `formatBsDate(bsDate: BsDate, format?: string): string`
Format a BS date as a string (default: 'YYYY-MM-DD').

### `formatBsDateWithMonth(bsDate: BsDate, locale?: 'en' | 'ne'): string`
Format a BS date with month name (e.g., "15 Baisakh 2081").

### `parseBsDate(dateString: string): BsDate | null`
Parse a BS date string in YYYY-MM-DD format.

### `getCurrentBsDate(): BsDate`
Get the current BS date.

### `getMonthName(month: number, locale?: 'en' | 'ne'): string`
Get the name of a BS month.

## License

MIT
npm package: @notdaniel/tracetana
Description: Trace your application's journey with the flexibility it deserves. Fork when operations split. Stage as they progress. Discover a user ID three steps in? Apply it retroactively to everything that came before. Build immutable trace contexts that adapt to h
Author: Daniel Keywan Hollister
Latest version: 0.4.0

# tracetana

Trace your application's journey with the flexibility it deserves. Fork when operations split. Stage as they progress. Discover a user ID three steps in? Apply it retroactively to everything that came before. Build immutable trace contexts that adapt to how your code actually runs—not how you wish it did.

This is probably not the ideal way to do any of these things, but it's something that worked for me for a specifc use-case.

## Installation

```bash
npm install @notdaniel/tracetana
```

**Compatibility**: Works with both CommonJS and ESM projects. Node.js >= 16.0.0 required.

## Quick Start

```typescript
// Works in both CommonJS and ESM projects
import { Tracer, Publisher } from "@notdaniel/tracetana";
// Or: const { Tracer, Publisher } = require("@notdaniel/tracetana");
import Redis from "ioredis";

const publisher = new Publisher({ redis: new Redis() });

let trace = new Tracer()
  .setPublisher(publisher)
  .stage("request.start", { path: "/api/users" });

await trace.publish();

// Add context discovered later - applies retroactively to all stages
const userId = await authenticate();
trace = trace.withGlobal({ userId });

trace = trace.stage("db.query", { table: "users" });
await trace.publish();

// Fork to track parallel operations
const cacheCheck = trace.fork("cache.lookup");
await cacheCheck.publish();

console.log(`Duration: ${trace.totalDuration}ms`);
```

## Features

- **Immutable contexts** - Functional API with no mutation, safe to pass around
- **Retroactive metadata** - Use `.withGlobal()` to add context that applies to all past and future stages
- **Fork for parallelism** - Track concurrent operations while maintaining correlation
- **Stage-based flow** - Build traces incrementally with `.stage()` as operations progress
- **Time series analysis** - Built-in duration tracking and percentile stats
- **Redis-backed** - Streams, hashes, indexes, and stats with configurable TTLs
- **Latency monitoring** - Track publisher performance with `.getLatencyStats()`

## Documentation

- [Usage Examples](docs/USAGE.md) - Common patterns and use cases

## Requirements

Node.js ≥22.0.0 (ESM only)

## License

MIT