Skip to content

Commit

Permalink
doc: fix example github
Browse files Browse the repository at this point in the history
  • Loading branch information
klarkc authored Jul 12, 2024
1 parent 5c7e73d commit f3c5a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ EXAMPLE="module Main where\nimport Effect.Console (log)\nmain = log \"hello from
echo -e $EXAMPLE | npx purs-eval

# With nix
echo -e $EXAMPLE | nix run github:klarkc/purs-eval
echo -e $EXAMPLE | nix run github:rowtype-yoga/purs-eval

# Pipe node (>v18)
echo -e $EXAMPLE | nix run github:klarkc/purs-eval | nix run nixpkgs#nodejs -- --experimental-network-imports --input-type module
echo -e $EXAMPLE | nix run github:rowtype-yoga/purs-eval | nix run nixpkgs#nodejs -- --experimental-network-imports --input-type module

# or with npx
echo -e $EXAMPLE | npx purs-eval | node --experimental-network-imports --input-type module
Expand Down

0 comments on commit f3c5a7f

Please sign in to comment.