open-index/open-npm huggingface dataset:
npm package: @ginhing/jweixin
Description: An commonjs wrapper of official js file.
Author: Ginhing
Latest version: 1.6.0

jweixin
======

An commonjs wrapper of [official js file](https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115).



```shell
npm i @ginhing/jweixin
# or 
npm i jweixin@npm:@ginhing/jweixin
```

```js
import Wx from '@ginhing/jweixin'

Wx.updateTimelineShareData({
  //...
})
```
npm package: @ginimessersmith/env-cast
Description: Zero-dependency, strictly typed environment variable parser and validator.
Author: ginimessersmith
Latest version: 1.0.2


# EnvCast

Zero-dependency, strictly typed environment variable parser and validator for Node.js.

[![npm version](https://img.shields.io/npm/v/@ginimessersmith/env-cast.svg)](https://www.npmjs.com/package/@ginimessersmith/env-cast)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Features

- **Zero Dependencies:** Ultra-lightweight and fast.
- **Type-Safe:** Written in TypeScript with full autocompletion support.
- **Fail-Fast Validation:** Strict parsing for strings, numbers, booleans, and JSON.
- **Dual Build:** Supports both CommonJS (`require`) and ESM (`import`).

## Installation

```bash
npm install @ginimessersmith/env-cast
```
## Usage
### With TypeScript / ESM
```typescript
import { createEnv } from '@ginimessersmith/env-cast';

// Parse and validate your environment variables
const env = createEnv({
  PORT: { type: 'number', default: 3000 },
  DATABASE_URL: { type: 'string', required: true },
  IS_PROD: { type: 'boolean', default: false },
  FEATURES: { type: 'json' }
});

console.log(`Server running on port ${env.PORT}`);
// env.PORT is strictly typed as a number!
```

### With JavaScript (CommonJS)
```javascript
const { createEnv } = require('@ginimessersmith/env-cast');

// Validation and casting works perfectly in vanilla JS too!
const env = createEnv({
  PORT: { type: 'number', default: 3000 },
  DATABASE_URL: { type: 'string', required: true },
  IS_PROD: { type: 'boolean', default: false }
});

console.log(`Server running on port ${env.PORT}`);
```
## Author
Crafted with precision by @ginimessersmith