Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

runme

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runme - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

dist/cli.d.ts.map

2

package.json
{
"name": "runme",
"version": "0.4.0",
"version": "0.4.1",
"author": "Christian Bromann <christian@stateful.com>",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -30,3 +30,3 @@ # Runme.js [![Test Changes](https://github.com/stateful/runmejs/actions/workflows/test.yaml/badge.svg)](https://github.com/stateful/runmejs/actions/workflows/test.yaml) [![npm version](https://badge.fury.io/js/runme.svg)](https://badge.fury.io/js/runme) [![deno module](https://shield.deno.dev/x/runme)](https://deno.land/x/runme)

You can import the module directly from the Deno module hosting service via `https://deno.land/x/runme@0.2.3/mod.ts`.
You can import the module directly from the Deno module hosting service via `https://deno.land/x/runme@0.4.1/mod.ts`.

@@ -44,8 +44,24 @@ ## Usage

// or when using Deno:
// import { parse } from 'https://deno.land/x/runme@0.2.3/mod.ts'
// import { parse } from 'https://deno.land/x/runme@0.4.1/mod.ts'
console.log(await parse('## Hello World\n'))
console.log(await parse(
'## Hello World\n' +
'```sh\n' +
'echo "Hello World"\n'
'```'
))
/**
* outputs:
* [{ markdown: '## Hello World' }]
* [{
* kind: 1,
* languageId: "",
* value: "# Hello World",
* }, {
* kind: 2,
* languageId: "sh",
* metadata: {
* "runme.dev/name": "echo-hello",
* },
* value: 'echo "Hello World"',
* }]
*/

@@ -57,1 +73,2 @@ ```

<p align="center"><small>Copyright 2022 © <a href="http://stateful.com/">Stateful</a> – Apache 2.0 License</small></p>
'# Hello World\n```sh\n```'),
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc