Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>jsmNew to Visual Studio Code? Get it now.
jsm

jsm

Sam Fuller

|
177 installs
| (0) | Free
run javascript on a file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Commands

line map - map a function over lines in the file
line filter - filter all lines in a file
line sort - sort all lines in a file

filter regex - filter all lines in a file, pass a regex
map regex - change all lines of a file using regex capture groups

file apply - a function that gets applied to an entire file
file generate - a generator function

javascript apply - apply a function to a js object
javascript filter - filter a list by a given function
javascript sort - sort a list by a given function

javascript to json - convert a javascript object to a json object
json to javascript - convert a json object to a javascript object

javascript to csv - convert a nested javascript list into a csv csv to javascript - convert a csv into a list of javascript objects

Github

github.com/Sam-Fuller/jsm

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft