New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

swift-run

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swift-run

> Run Swift Code

latest
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

Swift Run

Run Swift Code

Usage

1、add *.swift or *.md file

2、npx swift-run

3、change *.swift file

4、console output after modification culture

code output

Markdown

demo.md

## name

```swift
var name: String = "zhang shang"

print(name)

Age

var age: Int = 19

print("Name:\(name)\nAge:\(age)")

Change Output:

```shell
zhang shang

--- split code ---

Name:zhang shang
Age:19

FAQs

Package last updated on 25 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts