open-index/open-npm huggingface dataset:
npm package: @rosszurowski/lint
Description: A lint config by @rosszurowski
Author: Ross Zurowski
Latest version: 0.0.5

# Lint

## Installation

```bash
$ npm install @rosszurowski/lint --save-dev
```

## Example

In your project's Makefile, include:

```makefile
include node_modules/@rosszurowski/lint/index.mk
```

To override the source files (which default to `*.js`):

```makefile
SCRIPTS = lib/*.js
include node_modules/@rosszurowski/lint/index.mk
```

To override the ESLint configuration:

```makefile
LINT_CONFIG = config.json
include node_modules/@rosszurowski/lint/index.mk
```

## License

MIT

## Thanks

This was based almost entirely off of [tj/make-lint](https://github.com/tj/make-lint) and [feross/standard](https://github.com/feross/standard), with a few customizations to suit my needs.
npm package: @rosszurowski/new
Description: A set of personal templates for scaffolding projects
Author: Ross Zurowski
Latest version: 0.1.1

# New

> Scaffold a new project

A CLI and templates for scaffolding new projects. Pretty minimal functionality—all it does is loading a folder of scaffold templates and running them through Handlebars templates. Enough for my needs.

### Install

```bash
npm install @rosszurowski/new --save-dev
```

### Usage

``` bash
new [template_id]
```

## Templates

```
node-module
node-site-experimental
node-site-koa
node-site-metalsmith
```

## Tab Completion

Included in this repo is an autocompletion bash file `bin/new.bash`. Source that file in your shell to enable autocompletion. If you use Homebrew, this might look like this:

```bash
cp `npm root -g`/new/bin/new.bash `brew --prefix`/etc/bash_completion.d/new.bash
```

Then refresh your shell with

```bash
exec $SHELL -l
```

## License

[MIT](https://tldrlegal.com/license/mit-license)
npm package: @rosszurowski/normalize
Description: A slimmer fork of normalize.css
Author: Ross Zurowski
Latest version: 0.1.1

# normalize.css

All of my projects use [normalize.css](https://necolas.github.io/normalize.css/), but there's some stuff in there that never gets used (when was the last time you had a `mark` element in your HTML)?

This package cleans up some of the excess, and keeps a nice consistent naming structure with [@rosszurowski/vanilla](https://www.npmjs.com/package/@rosszurowski/vanilla).

## Versioning

Version numbers are kept in-sync with [normalize.css](https://necolas.github.io/normalize.css/).

## Acknowledgements

Normalize.css is a project by [Nicolas Gallagher](https://github.com/necolas), co-created with [Jonathan Neal](https://github.com/jonathantneal).
npm package: @rosszurowski/popover
Description: A simple, fast React popover component.
Latest version: 0.0.9

A tiny Popover component for React and Preact apps. Simple, and usable for many different settings.

- Minimal dependencies
- Supports both React and [Preact](https://preactjs.com/)

## Getting Started

```jsx
import Popover from "@rosszurowski/popover";

function App() {
  return (
    <Popover content="Hello world">
      <button type="button">Toggle a popover</button>
    </Popover>
  );
}
```
npm package: @rosszurowski/vanilla
Description: A browser reset for functional css
Author: Ross Zurowski
Latest version: 1.3.4

# vanilla 🍦

A tiny, responsive browser reset for [functional css](#).

```bash
npm install --save @rosszurowski/vanilla
```

I was using this code a lot, so I wanted to make it a module. Use it if you want, don't if you don't.
npm package: @rostyslavsh/simple_package
Description: An npm package for demonstration purposes using TypeScript to build for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format (CJS). It can be used in Node.js and browser applications.
Latest version: 1.0.3

# modern-npm-package

An npm package for demonstration purposes using TypeScript to build for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format (CJS). It can be used in Node.js and browser applications.

## Get Started

1. Run `npm install` in your terminal
1. Then run `npm run build`
1. Update the `package.json` file "name" field with your own package name. Example `@username/package-name`
1. Create an account with [npm](https://www.npmjs.com/signup) if you don't have one already. Also be sure to enable [two-factor authentication](https://docs.npmjs.com/configuring-two-factor-authentication)
1. Sign in to your npm account in your terminal with `npm login`
1. Run `npm publish --access=public` to publish your package

### Testing

1. Install developer dependencies using the following command in your terminal `npm i -D mocha @type/mocha chai @types/chai ts-node`
1. Create a new file `.mocharc.json` in the root directory with the following contents:
   ```json
   {
     "extension": ["ts"],
     "spec": "./**/*.spec.ts",
     "require": "ts-node/register"
   }
   ```
1. Create a `tests` folder
1. Create an `index.spec.ts` file in the `tests` folder
1. Write unit tests in the `index.spec.ts` file to test the code in `index.ts`
1. Add a `"test"` property in the `package.json` file and give it a value of `"mocha"`
1. Run `npm test` in your terminal from the root folder of the project
npm package: @rosux/darkmode
Description: This package provides a simple way to allow you to easily implement a dark mode toggle feature on your website.
Author: Rosux
Latest version: 1.0.0

[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
# DarkMode
## [Example](https://rosux.github.io/DarkMode/)

A simple JavaScript class for enabling dark mode on a website.

Made by Rosux.

## Installation

To use this class on your website, include the `DarkMode.js` file in your project and instantiate a new DarkMode object with the required parameters.

```html
<script src="DarkMode.js"></script> <!-- no defer needed -->
<script>
    const dark = "--background-color: black;";
    const light = "--background-color: white;";
    const darkMode = new DarkMode(dark, light);
</script>
```
## Usage

To toggle dark mode on and off, simply call the toggle() method on the DarkMode object.

```js
darkMode.toggle();
```

You can also set dark mode to be on or off by calling the on() or off() methods, respectively.

```js
darkMode.on(); // sets dark mode to on
darkMode.off(); // sets dark mode to off
```
You can set the theme to the user's preferred color scheme by calling the defaultColorScheme() method.

```js
darkMode.defaultColorScheme();
```
You can check the current state of dark mode by accessing the getMode() method, which returns a Boolean (true if dark, false if light).

```js
if (darkMode.getMode()) {
  console.log('Dark mode is on');
} else {
  console.log('Dark mode is off');
}
```

Customization

You can customize the colors used in dark mode by passing an strings of css variables to the DarkMode constructor.

```js
const darkMode = new DarkMode(
  'css variables for dark theme',
  'css variables for light theme'
);
```
You can also add event listeners to elements with `darkmode-button` and `darkmode-selector` attributes to control the dark mode state.

```html
<button darkmode-button="switch">switch</button>
<button darkmode-button="on">make it dark</button>
<button darkmode-button="off">make it light</button>
<button darkmode-button="default">default to prefered color scheme</button>
<input type="checkbox" darkmode-selector="true"><!-- if its checked its dark (defaults to true) -->
<input type="checkbox" darkmode-selector="false"><!-- if its checked its light (defaults to true) -->
```

You can add eventListeners to new elements with `darkmode-button` and `darkmode-selector` attributes. This also automatically updates the buttons state.
```js
darkMode.applyListener();
```

# Contributing

We welcome contributions to this project! If you have an idea for a new feature or a bug to report, please open an issue. If you want to submit a fix or a new feature, please create a pull request.

Before submitting a pull request, please make sure to:

    Write tests for any new code (simple examples on a page to prove it works)
    Follow the existing code style
    Document any changes in a log file

Thank you for considering contributing to DarkMode!

Let's make dark the new standard.
npm package: @rot1024/use-transition
Description: React Hooks for transition animation like Transition component in react-transition-group
Author: rot1024
Latest version: 1.0.0

# @rot1024/use-transition

React Hooks for transition animation like Transition component in [react-transition-group](https://github.com/reactjs/react-transition-group), but improves smooth transition

Transition component in react-transition-group, and [use-transition](https://www.npmjs.com/package/use-transition) are very nice. But they are incompatible with [styled-components](https://www.styled-components.com/) or [Emotion](https://emotion.sh/docs/introduction), particularly with `mountOnEnter` or `unmountOnExit`. 

In addition, react-transition-group and use-transition have incorrect transition duration when the transition direction is changed during the transition.

This library improves their problems. Following image is comparision of the libraries.

![comparison](image.gif)

## Usage

```sh
npm install --dev @rot1024/use-transition
# or
yarn add @rot1024/use-transition
```

```jsx
import { useState } from "react";
import { styled } from "styled-components";
import useTransition from "@rot1024/use-transition";

const StyledDiv = styled.div`
  transition: ${({ state }) => state === "entering" || state === "exiting" ? "all 1s ease" : ""};
  opacity: ${({ state }) => state === "entering" || state === "entered" ? 1 : 0};
`;

const Component = () => {
  const [isActive, setActive] = useState(false);
  const state = useTransition(isActive, 1000, {
    mountOnEnter: true,
    unmountOnExit: true
  });
  // state is "entering", "entered", "exiting", "exited", or "unmounted"

  const handleClick = useCallback(() => {
    setActive(active => !active);
  }, [isActive, setActive])

  return (
    <div>
      <button onClick={handleClick}>Toggle</button>
      {state === "unmounted" ? null : <StyledDiv state={state}>Transition</StyledDiv>}
    </div>
  );
};
```

## License

MIT License
npm package: @rotalabs/context
Description: Context intelligence for AI agents - Ingest, search, and subscribe to shared context
Author: Rotalabs
Latest version: 1.0.0

# @rotalabs/context

> Context intelligence for AI agents — Ingest, search, and subscribe to shared context across your AI systems.

Part of the [Rotalabs](https://rotalabs.ai) trust intelligence research ecosystem.

## Installation

```bash
npm install @rotalabs/context
```

## Quick Start

```typescript
import { ContextEngine } from '@rotalabs/context';

// Local mode (in-memory, zero config)
const ctx = new ContextEngine();

// Platform mode (connects to Rotascale)
const ctx = new ContextEngine({
  apiKey: 'rot_...',
  baseUrl: 'https://api.rotascale.com',
});

// Ingest
const result = await ctx.ingest({
  records: [
    { content: 'User reported login issue', title: 'Ticket #1234' },
    { content: 'Auth service latency spike', title: 'Incident report' },
  ],
  source: 'helpdesk',
  tags: ['support', 'auth'],
  scope: 'team:support',
});

// Search
const results = await ctx.search('login issues', { topK: 5, mode: 'semantic' });
for (const hit of results.results) {
  console.log(`${hit.score.toFixed(2)} — ${hit.entry.title}`);
}

// Subscribe to events
ctx.on('context.created', { filter: { tags: ['support'] } }, (event) => {
  console.log(`New context: ${event.title}`);
});
```

## License

MIT
npm package: @rotastellar/sdk
Description: Node.js SDK for RotaStellar - Space Computing Infrastructure
Author: Subhadip Mitra
Latest version: 0.1.1

# @rotastellar/sdk

**Node.js SDK for RotaStellar — Space Computing Infrastructure**

Core types, utilities, and client for the RotaStellar platform.

## Installation

```bash
npm install @rotastellar/sdk
```

## Quick Start

```typescript
import { Position, Orbit, Satellite, TimeRange } from '@rotastellar/sdk';

// Create a geographic position (e.g., Kennedy Space Center)
const ksc = new Position({
  latitude: 28.5729,
  longitude: -80.6490,
  altitudeKm: 0.0
});
console.log(`KSC: ${ksc.latitude}°N, ${ksc.longitude}°W`);

// Define an ISS-like orbit
const orbit = new Orbit({
  semiMajorAxisKm: 6778.0,
  eccentricity: 0.0001,
  inclinationDeg: 51.6,
  raanDeg: 100.0,
  argPeriapsisDeg: 90.0,
  trueAnomalyDeg: 0.0
});
console.log(`Orbital period: ${orbit.periodMinutes.toFixed(1)} minutes`);
console.log(`Apogee: ${orbit.apogeeKm.toFixed(1)} km`);

// Create a satellite
const satellite = new Satellite({
  id: 'ISS',
  name: 'International Space Station',
  noradId: 25544,
  position: new Position({ latitude: 45.0, longitude: -122.0, altitudeKm: 408.0 }),
  orbit
});

// Define a time range
const range = new TimeRange({
  start: new Date('2026-01-01T00:00:00Z'),
  end: new Date('2026-01-02T00:00:00Z')
});
console.log(`Duration: ${range.durationHours.toFixed(1)} hours`);
```

## Features

- **Position** — Geographic coordinates with altitude
- **Orbit** — Keplerian orbital elements with derived properties
- **Satellite** — Satellite metadata and state
- **TimeRange** — Time window specifications
- **Validation** — Runtime parameter validation with Zod

## Related Packages

| Package | Description |
|---------|-------------|
| [@rotastellar/intel](https://www.npmjs.com/package/@rotastellar/intel) | Satellite tracking, TLE parsing, conjunction analysis |
| [@rotastellar/compute](https://www.npmjs.com/package/@rotastellar/compute) | Thermal, power, latency, and feasibility analysis |
| [@rotastellar/distributed](https://www.npmjs.com/package/@rotastellar/distributed) | Federated learning, model partitioning, mesh routing |

## Links

- **Website:** https://rotastellar.com
- **Documentation:** https://docs.rotastellar.com/sdks/node
- **GitHub:** https://github.com/rotastellar/rotastellar-node

## Author

Created by [Subhadip Mitra](mailto:subhadipmitra@rotastellar.com) at [RotaStellar](https://rotastellar.com).

## License

MIT License — Copyright (c) 2026 RotaStellar