
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@learnpack/learnpack
Advanced tools
Create, sell or download and take learning amazing learning packages
$ npm install -g @learnpack/learnpack
$ learnpack COMMAND
running command...
$ learnpack (-v|--version|version)
@learnpack/learnpack/2.0.4 win32-x64 node-v16.14.0
$ learnpack --help [COMMAND]
USAGE
$ learnpack COMMAND
...
learnpack auditlearnpack cleanlearnpack download [PACKAGE]learnpack help [COMMAND]learnpack initlearnpack login [PACKAGE]learnpack logout [PACKAGE]learnpack pluginslearnpack plugins:install PLUGIN...learnpack plugins:link PLUGINlearnpack plugins:uninstall PLUGIN...learnpack plugins:updatelearnpack publish [PACKAGE]learnpack startlearnpack test [EXERCISESLUG]learnpack auditlearnpack audit is the command in charge of creating an auditory of the repository
USAGE
$ learnpack audit
DESCRIPTION
...
learnpack audit checks for the following information in a repository:
1. The configuration object has slug, repository and description. (Error)
2. The command learnpack clean has been run. (Error)
3. If a markdown or test file doesn't have any content. (Error)
4. The links are accessing to valid servers. (Error)
5. The relative images are working (If they have the shortest path to the image or if the images exists in the
assets). (Error)
6. The external images are working (If they are pointing to a valid server). (Error)
7. The exercises directory names are valid. (Error)
8. If an exercise doesn't have a README file. (Error)
9. The exercises array (Of the config file) has content. (Error)
10. The exercses have the same translations. (Warning)
11. The .gitignore file exists. (Warning)
12. If there is a file within the exercises folder but not inside of any particular exercise's folder. (Warning)
See code: src\commands\audit.ts
learnpack cleanClean the configuration object
USAGE
$ learnpack clean
DESCRIPTION
...
Extra documentation goes here
See code: src\commands\clean.ts
learnpack download [PACKAGE]Describe the command here
USAGE
$ learnpack download [PACKAGE]
ARGUMENTS
PACKAGE The unique string that identifies this package on learnpack
DESCRIPTION
...
Extra documentation goes here
See code: src\commands\download.ts
learnpack help [COMMAND]display help for learnpack
USAGE
$ learnpack help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
learnpack initCreate a new learning package: Book, Tutorial or Exercise
USAGE
$ learnpack init
OPTIONS
-h, --grading show CLI help
See code: src\commands\init.ts
learnpack login [PACKAGE]Describe the command here
USAGE
$ learnpack login [PACKAGE]
ARGUMENTS
PACKAGE The unique string that identifies this package on learnpack
DESCRIPTION
...
Extra documentation goes here
See code: src\commands\login.ts
learnpack logout [PACKAGE]Describe the command here
USAGE
$ learnpack logout [PACKAGE]
ARGUMENTS
PACKAGE The unique string that identifies this package on learnpack
DESCRIPTION
...
Extra documentation goes here
See code: src\commands\logout.ts
learnpack pluginslist installed plugins
USAGE
$ learnpack plugins
OPTIONS
--core show core plugins
EXAMPLE
$ learnpack plugins
See code: @oclif/plugin-plugins
learnpack plugins:install PLUGIN...installs a plugin into the CLI
USAGE
$ learnpack plugins:install PLUGIN...
ARGUMENTS
PLUGIN plugin to install
OPTIONS
-f, --force yarn install with force flag
-h, --help show CLI help
-v, --verbose
DESCRIPTION
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ learnpack plugins:add
EXAMPLES
$ learnpack plugins:install myplugin
$ learnpack plugins:install https://github.com/someuser/someplugin
$ learnpack plugins:install someuser/someplugin
See code: @oclif/plugin-plugins
learnpack plugins:link PLUGINlinks a plugin into the CLI for development
USAGE
$ learnpack plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
OPTIONS
-h, --help show CLI help
-v, --verbose
DESCRIPTION
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLE
$ learnpack plugins:link myplugin
See code: @oclif/plugin-plugins
learnpack plugins:uninstall PLUGIN...removes a plugin from the CLI
USAGE
$ learnpack plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
OPTIONS
-h, --help show CLI help
-v, --verbose
ALIASES
$ learnpack plugins:unlink
$ learnpack plugins:remove
See code: @oclif/plugin-plugins
learnpack plugins:updateupdate installed plugins
USAGE
$ learnpack plugins:update
OPTIONS
-h, --help show CLI help
-v, --verbose
See code: @oclif/plugin-plugins
learnpack publish [PACKAGE]Describe the command here
USAGE
$ learnpack publish [PACKAGE]
ARGUMENTS
PACKAGE The unique string that identifies this package on learnpack
DESCRIPTION
...
Extra documentation goes here
See code: src\commands\publish.ts
learnpack startRuns a small server with all the exercise instructions
USAGE
$ learnpack start
OPTIONS
-D, --disableGrading disble grading functionality
-d, --debug debugger mode for more verbage
-e, --editor=standalone|gitpod [standalone, gitpod]
-g, --grading=isolated|incremental [isolated, incremental]
-h, --host=host server host
-p, --port=port server port
-v, --version=version E.g: 1.0.1
-w, --watch Watch for file changes
See code: src\commands\start.ts
learnpack test [EXERCISESLUG]Test exercises
USAGE
$ learnpack test [EXERCISESLUG]
ARGUMENTS
EXERCISESLUG The name of the exercise to test
See code: src\commands\test.ts
FAQs
Seamlessly build, sell and/or take interactive & auto-graded tutorials, start learning now or build a new tutorial to your audience.
The npm package @learnpack/learnpack receives a total of 514 weekly downloads. As such, @learnpack/learnpack popularity was classified as not popular.
We found that @learnpack/learnpack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.