https://github.com/saqqdy/tsnd
A ts runtime tool
https://github.com/saqqdy/tsnd
saqqdy ts-runtime tscjs tsesm tsnd tsnd-cjs tsnd-esm typescript-runtime
Last synced: about 1 month ago
JSON representation
A ts runtime tool
- Host: GitHub
- URL: https://github.com/saqqdy/tsnd
- Owner: saqqdy
- License: mit
- Created: 2021-11-29T04:08:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-28T00:38:51.000Z (almost 2 years ago)
- Last Synced: 2025-05-08T01:06:57.619Z (about 2 months ago)
- Topics: saqqdy, ts-runtime, tscjs, tsesm, tsnd, tsnd-cjs, tsnd-esm, typescript-runtime
- Language: TypeScript
- Homepage:
- Size: 381 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# TSND
A ts runtime tool
[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]
[![License][license-image]][license-url][![Sonar][sonar-image]][sonar-url]
## Installation
### 1. global
```bash
# Install via npm
npm install -g tsnd# or install via yarn
yarn global add tsnd
```### 2. local
```bash
# Install via npm
npm install -D tsnd# or install via yarn
yarn add -D tsnd
```## Usage
```bash
# Run the cjs module written in typescript
tscjs test.ts
# or
tsnd-cjs test.ts# Run the esm module written in typescript
tsesm test.ts
# or
tsnd-esm test.ts
```## Configuration
No configuration required
[npm-image]: https://img.shields.io/npm/v/tsnd.svg?style=flat-square
[npm-url]: https://npmjs.org/package/tsnd
[download-image]: https://img.shields.io/npm/dm/tsnd.svg?style=flat-square
[download-url]: https://npmjs.org/package/tsnd
[license-image]: https://img.shields.io/badge/License-MIT-blue.svg
[license-url]: LICENSE
[sonar-image]: https://sonarcloud.io/api/project_badges/quality_gate?project=saqqdy_tsnd
[sonar-url]: https://sonarcloud.io/dashboard?id=saqqdy_tsnd