
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@freecodecamp/freecodecamp-os
Advanced tools
Package used for freeCodeCamp projects with the freeCodeCamp Courses VSCode extension
freecodecamp-os
in your project root:npm install @freecodecamp/freecodecamp-os
freecodecamp.conf.json
file to your project root:{
"path": ".",
"prepare": "echo 'prep'",
"scripts": {
"develop-course": "NODE_ENV=development node ./node_modules/@freecodecamp/freecodecamp-os/.freeCodeCamp/tooling/server.js",
"run-course": "NODE_ENV=production node ./node_modules/@freecodecamp/freecodecamp-os/.freeCodeCamp/tooling/server.js",
"test": {
"functionName": "handleMessage",
"arguments": [
{
"message": "Hello World!",
"type": "info"
}
]
}
},
"workspace": {
"previews": [
{
"open": true,
"url": "http://localhost:8080",
"showLoader": true,
"timeout": 20000
}
]
},
"bash": {
".bashrc": "./bash/.bashrc",
"sourcerer.sh": "./bash/sourcerer.sh"
},
"client": {
"assets": {
"header": "./client/assets/fcc_primary_large.svg",
"favicon": "./client/assets/fcc_primary_small.svg"
},
"landing": {
"description": "Placeholder description",
"faq-link": "#",
"faq-text": "Link to FAQ related to course"
}
},
"config": {
"projects.json": "./config/projects.json",
"state.json": "./config/state.json"
},
"curriculum": {
"locales": {
"english": "./curriculum/locales/english"
}
},
"tooling": {
"helpers": "./tooling/helpers.js"
}
}
This repo consists of:
.freeCodeCamp/
- the directory that is published to NPM
client/
- SPA showcasing the curricula contenttooling/
- directory containing Nodejs scripts to run a server serving the client.logs/
- directory containing files with terminal log databash/
- directory for bash configurationclient/
- directory for assets used in .freeCodeCamp/client/
config/
- directory for project configuration and statecurriculum/
- directory for curriculum content
locales/
- directory for different language versions of the curriculumtooling/
- directory for Nodejs scripts integrated with .freeCodeCamp/tooling/
but specific to the curriculumThe course content served on the client is written in Markdown files. The lesson/project tests run on the Nodejs server are written in the same markdown files.
The freecodecamp.conf.json
file is used to configure the course, and define the actions taken by the freeCodeCamp - Courses extension. The freecodecamp-os
package version used should match the minor version used for the extension. This is configured in the .devcontainer/devcontainer.json
file.
FAQs
Package used for freeCodeCamp projects with the freeCodeCamp Courses VSCode extension
We found that @freecodecamp/freecodecamp-os demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.