
Security News
AI Agent Submits PR to Matplotlib, Publishes Angry Blog Post After Rejection
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.
playground-export
Advanced tools
This is a CLI plugin to download your LWC Playground projects and optionally convert them to an SFDX project.
To install the plugin run:
$ sfdx plugin:install playground-export
To export a project to a folder run the following. The value is found in the url: https://developer.salesforce.com/docs/component-library/tools/playground/<ID>/1/edit
$ sfdx playground:export -i <ID> --name myproj
If you want to have the project pushed to a git repo set the remote flag.
$ sfdx playground:export -i <ID> --name myproj --remote https://github.com/username/repo
If you want to export the modules as a SFDX project set the template flag.
$ sfdx playground:export -i <ID> --name myproj --template sfdx
<!-- install -->
<!-- usage -->
$ npm install -g playground-export
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
playground-export/1.1.0 darwin-x64 node-v12.18.1
$ sfdx --help [COMMAND]
USAGE
$ sfdx COMMAND
...
sfdx playground:export -i <string> [-n <string>] [--template <string>] [--internal] [--remote <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]print a greeting and your org IDs
USAGE
$ sfdx playground:export -i <string> [-n <string>] [--template <string>] [--internal] [--remote <string>] [--json]
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-i, --id=id (required) the id of the project to
download. The url is like
https://developer.salesforce.com/doc
s/component-library/tools/playground
/<id>/1/edit
-n, --name=name The name of your project
--internal Use the internal version of
playground
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
this command invocation
--remote=remote The url of the git repository that
you want to push your project to
--template=template The template to use. valid options
are sfdx and none
EXAMPLES
$ sfdx playground:export --id 7yD2PkxT7
$ sfdx playground:export --id 7yD2PkxT7 --name MyProject
$ sfdx playground:export --id 7yD2PkxT7 --template sfdx
See code: lib/commands/playground/export.js
FAQs
Download your playground project.
The npm package playground-export receives a total of 8 weekly downloads. As such, playground-export popularity was classified as not popular.
We found that playground-export demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.

Security News
HashiCorp disclosed a high-severity RCE in next-mdx-remote affecting versions 4.3.0 to 5.x when compiling untrusted MDX on the server.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.