open-index/open-npm huggingface dataset:
npm package: @intersproject/address
Description: Utilities for handling Ethereum Addresses for ethers.
Author: Richard Moore
Latest version: 4.0.6

Ethereum Address Utilities
==========================

This sub-module is part of the [ethers project](https://github.com/ethers-io/ethers.js).

It is responsible for encoding, verifying and computing checksums for
Ethereum addresses and computing special addresses, such as those
enerated by and for contracts under various situations.

For more information, see the [documentation](https://docs.ethers.io/v5/api/utils/address/).

Importing
---------

Most users will prefer to use the [umbrella package](https://www.npmjs.com/package/ethers),
but for those with more specific needs, individual components can be imported.

```javascript
const {

    getAddress,
    isAddress,

    getIcapAddress,

    getContractAddress,
    getCreate2Address

} = require("@ethersproject/address");
```

License
-------

MIT License
npm package: @intersproject/bytes
Description: Bytes utility functions for ethers.
Author: Richard Moore
Latest version: 4.0.1

Byte Manipulation
=================

This sub-module is part of the [ethers project](https://github.com/ethers-io/ethers.js).

It is responsible for manipulating binary data.

For more information, see the [documentation](https://docs.ethers.io/v5/api/utils/bytes/).


Importing
---------

Most users will prefer to use the [umbrella package](https://www.npmjs.com/package/ethers),
but for those with more specific needs, individual components can be imported.

```javascript
const {

    isBytesLike,
    isBytes,

    arrayify,

    concat,

    stripZeros,
    zeroPad,

    isHexString,
    hexlify,

    hexDataLength,
    hexDataSlice,
    hexConcat,

    hexValue,

    hexStripZeros,
    hexZeroPad,

    splitSignature,
    joinSignature,

    // Types

    Bytes,
    BytesLike,

    DataOptions,

    Hexable,

    SignatureLike,
    Signature

} = require("@ethersproject/bytes");
```


License
-------

MIT License
npm package: @intersproject/providers
Description: Ethereum Providers for ethers.
Author: Richard Moore
Latest version: 4.0.8

Ethereum Providers
==================

This sub-module is part of the [ethers project](https://github.com/ethers-io/ethers.js).

It contains common Provider classes, utility functions for dealing with providers
and re-exports many of the classes and types needed implement a custom Provider.

For more information, see the [documentation](https://docs.ethers.io/v5/api/providers/).


Importing
---------

Most users will prefer to use the [umbrella package](https://www.npmjs.com/package/ethers),
but for those with more specific needs, individual components can be imported.

```javascript
const {

    Provider,
    BaseProvider,

    JsonRpcProvider,
    StaticJsonRpcProvider,
    UrlJsonRpcProvider,

    FallbackProvider,

    AlchemyProvider,
    CloudflareProvider,
    EtherscanProvider,
    InfuraProvider,
    NodesmithProvider,

    IpcProvider,

    Web3Provider,

    WebSocketProvider,

    JsonRpcSigner,

    getDefaultProvider,

    getNetwork,

    Formatter,

    // Types

    TransactionReceipt,
    TransactionRequest,
    TransactionResponse,

    Listener,

    ExternalProvider,

    Block,
    BlockTag,
    EventType,
    Filter,
    Log,

    JsonRpcFetchFunc,

    Network,
    Networkish

} = require("@ethersproject/providers");
```


License
-------

MIT License
npm package: @interstellar-tools/constants
Description: Authoritative physical and astronomical constants in SI units for consistent calculations.
Author: Alexander Vassbotn Røyne-Helgesen
Latest version: 0.36.0

# @interstellar-tools/constants

## Installation

- [Node.js](https://nodejs.org/) version 22.9.0 or higher
- npm version 11.5.1 or higher

```shell [npm]
npm i --save @interstellar-tools/constants
```
npm package: @interstellar-tools/equations
Description: Curated, well-tested orbital mechanics and dynamics formulas (e.g., Newtonian gravity, vis-viva, Kepler's 3rd law, escape/circular speeds, specific energy, specific angular momentum, peri/apoapsis radii).
Author: Alexander Vassbotn Røyne-Helgesen
Latest version: 0.36.0

# @interstellar-tools/equations

## Installation

- [Node.js](https://nodejs.org/) version 22.9.0 or higher
- npm version 11.5.1 or higher

```shell [npm]
npm i --save @interstellar-tools/equations
```

::: warning

These equations have not **_YET_** been battle-tested or tested to real world
mechanics, YMMV!

:::
npm package: @interstellar-tools/temporal
Description: Time and epoch utilities for space applications (e.g., building blocks toward Julian dates, conversions, and ephemeris-friendly time handling).
Author: Alexander Vassbotn Røyne-Helgesen
Latest version: 0.36.0

# @interstellar-tools/temporal

## Installation

- [Node.js](https://nodejs.org/) version 22.9.0 or higher
- npm version 11.5.1 or higher

```shell [npm]
npm i --save @interstellar-tools/temporal
```
npm package: @interstellar-tools/types
Description: Shared TypeScript types (e.g., 3D tuples, equation result interfaces) used across the monorepo to keep APIs predictable and safe.
Author: Alexander Vassbotn Røyne-Helgesen
Latest version: 0.36.0

# @interstellar-tools/types

## Installation

- [Node.js](https://nodejs.org/) version 22.9.0 or higher
- npm version 11.5.1 or higher

```shell [npm]
npm i --save @interstellar-tools/types
```
npm package: @intersystems-community/intersystems-servermanager
Description: InterSystems Server Manager VS Code extension API interfaces and constants
Latest version: 3.10.2

# InterSystems Server Manager extension API interfaces and constants

[![GitHub](https://img.shields.io/github/license/intersystems-community/intersystems-servermanager)](https://github.com/intersystems-community/intersystems-servermanager/blob/master/LICENSE)

Package defining the interfaces used in the API that is published by the `intersystems-community.servermanager` [extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=intersystems-community.servermanager), plus constants associated with the extension.

# Changelog

### v3.10.2

- Add optional `scope` property to `IServerName`, which was introduced in Server Manager 3.10.2.

### v3.8.0

- Add function signatures, including `getAccount` which was introduced in Server Manager 3.8.0.

### v3.4.1

- Add optional `superServer` object.

### v3.0.4

- Export constants correctly.

### v3.0.0

- First release, numbered to align with the first published version of Server Manager 3.
npm package: @interval/envoy
Description: Envoy gives your TypeScript apps type safe access to environment variables.
Latest version: 1.0.1

# 🚛 Envoy

Envoy gives your TypeScript apps type safe access to environment variables.

![How Envoy works](docs/about.png)

Envoy accepts an `envoy.config.ts` file and an `.env` file as input and generates a single `env.ts` file which exports a constant for each variable as output.

![Envoy in action](docs/usage.png)

There are a few major benefits to this approach:

1. You no longer need to keep track of what environment variables + secrets your app needs to run. Your `envoy.config.ts` defines them all.
2. By adding a `envoy` step before starting your app, you can prevent it from starting/deploying unless all required environment variables are present.
3. Because envoy generates a `.ts` env file, you get _full editor support_ and static type checking. Mistyping a variable name will result in a compile time error, not a mysterious runtime bug.

## Getting Started

1. **Install Envoy**

Using yarn:

```
yarn add @interval/envoy
```

2. **Create your config + .env files**

You'll next need to create an Envoy config file. This defines the variables that Envoy will expect.

**⚙️ envoy.config.ts**

```ts
import { EnvoyVariableSpec } from '@interval/envoy'

const vars: EnvoyVariableSpec[] = ['DATABASE_URL', 'STRIPE_API_KEY']

export default vars
```

Commit this to your repo!

**🔐 .env**

This is a standard .env file in `KEY=VALUE` format. Each key in this file should correspond to what you've defined in `envoy.config.ts`.

The values in this file are either secrets which you _can't_ commit or environment specific configuration details which you _shouldn't_.

```sh
DATABASE_URL=postgres://root@db.com:5432
STRIPE_API_KEY=sk_test_123456789101112131415
```

**Don't commit this file!**

3. Run envoy!

Running `yarn envoy` will look for a `.env` and `envoy.config.ts` file in your current working directory and will output an `env.ts` file that looks like this:

```ts
// THIS FILE WAS AUTOMATICALLY GENERATED BY ENVOY
// TO ADD A NEW ENVIRONMENT VARIABLE, RUN ENVOY
// DO NOT EDIT THIS FILE DIRECTLY

const DATABASE_URL = 'postgres://root@db.com:5432'
const STRIPE_KEY = 'sk_test_123456789101112131415'

export { STRIPE_KEY, DATABASE_URL }
```

You can use this like any other TypeScript file. Just be sure that you **don't commit this file** as it contains your secrets that you defined manually in your `.env` file.

## Behavior

If you define a variable in `.env` but exclude it from your `envoy.config.ts`, the resulting `env.ts` file _will not_ contain that variable.

If you define a variable in `envoy.config.ts`, but don't define it in your `.env`, Envoy will fail and will exit with code 1.

## Recommended usage

We suggest you run `yarn envoy` each time your app compiles. For example, at [Interval](https://interval.com), our yarn `start:dev` command runs `yarn envoy && yarn ts:node`.

Note that this library effectively hard codes your secrets into each build. Depending on your infrastructure, this may be a non-starter.
npm package: @interval/fake-stripe
Description: A mock Stripe SDK for use in Interval tutorials
Author: Alex Arena
Latest version: 1.1.0

# fake-stripe

This package is designed to be used in conjunction with [Interval](https://interval.com) tutorials. In those tutorials, it serves as a drop-in replacement for [Stripe's Node.js SDK](https://github.com/stripe/stripe-node), allowing the tutorials to be completed without a real Stripe account.

This package only intends to mock the methods required for our tutorials. It probably will never include mocks for all or even _most_ of Stripe's API methods.
npm package: @intervals-icu/js-data-model
Description: Data model for custom Intervals.icu scripts
Author: David Tinker
Latest version: 1.1.0

# js-data-model

Data model for Javascript code for custom Intervals.icu fields, charts, streams etc. Generated from the 
Intervals.icu source code. [Intervals.icu](https://intervals.icu/) is an online service for sports analytics and 
planning with [Javascript extension points](https://forum.intervals.icu/t/extending-intervals-icu/46565) and an 
[open API](https://forum.intervals.icu/t/intervals-icu-integration-cookbook/80090).

This package just contains types and no code. Use it to write Intervals.icu scripts in your favourite IDE with code 
completion. You still need to cut and paste the JS code into the Intervals.icu web app to run it.

## Getting Started

You need to have [Nodejs](https://nodejs.org/) installed:
- Follow the instructions on the website to download and install it
- OR install [nvm](https://github.com/nvm-sh/nvm) (Node version manager) a tool that makes it easy to work with 
  multiple versions of Node on one machine

Create a new directory for your Intervals.icu scripts project and install this package:

    mkdir intervals-icu-scripts
    cd intervals-icu-scripts
    npm install @intervals-icu/js-data-model --save

Open that project in your IDE and create a Typescript file, Types.ts:

    import {ActivityJsData, Interval} from "@intervals-icu/js-data-model"
    export var icu: ActivityJsData
    export var interval: Interval

Typescript is a strongly typed superset of Javascript. Intervals.icu does not support Typescript, but it is useful
here to let the IDE know what "icu" and "interval" are.

Now create a Javascript file for your script (PedallingTime.js):

    import {icu} from "./Types"
    
    // paste everything below into Intervals.icu to run your script
    {
      let activity = icu.activity
      let pedalling_time = activity.moving_time - activity.coasting_time
      pedalling_time
    }

You should get code completion help from your IDE for all the types.

To upgrade an existing project to the latest version:

    npm install @intervals-icu/js-data-model@latest --save

## Intervals.icu JS extension points

These are some of the places where Intervals.icu is extensible with JS:
- [Computed activity fields](https://forum.intervals.icu/t/computed-activity-fields/25673)
- [Custom interval fields](https://forum.intervals.icu/t/custom-interval-fields/25942)
- [Custom activity streams with JS](https://forum.intervals.icu/t/custom-activity-streams-with-javascript/46416)
- [Custom activity charts](https://forum.intervals.icu/t/custom-activity-charts/28627)