![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
code-live-student
Advanced tools
A tool that allows live syncing from an instructor's code project. Must be paired with code-live-instructor.
code-live is a tool used to help instructors sync their code live with their students. The student can then use those files being synced to compare against their own code to help prevent bugs/errors.
code-live will run a server in the background that listens for any changes that the instructor saved to their code. When changes occur, it will implement those changes.
This package only works when paired with code-live-instructor
.
Using npm:
npm i -g code-live-student
Navigate to the directory that will hold the instructor's syncing code and run:
code-live [ip address of instructor]
You will need to receive the ip address from the instructor and use it as an argument in the command line.
The code-live server will start running in the background on port 5000 and will receive any changes that were made by the instructor.
When your code-live server connects to the instructor's code-live server, it will notify you in the terminal of the connection by printing to the terminal code-live is connected
.
When you run the code-live [ip address]
command, a directory called __instructor-code__
will be created for you. This will keep your code and the syncing instructor's code separate to prevent any overwrites. For example, a file structure with a react application would look something like this:
/node_modules
/public
/src
package.json
package-lock.json
README.md
.gitignore
/__instructor-code__
|-- /public
|-- /src
|-- package.json
|-- package-lock.json
|-- README.md
Notice how the folder __instructor-code__
contains a public and src folder along with some files. This would be the instructor code. Also, notice how there is no .gitignore or node_modules, these files will not be synced to your computer as they will be ignored on the instructor side.
You can compare selected files using VS Code's compare functionality. Do so by selecting the instructor file you want to compare and then your file that you want to compare so that both are selected. It's important that you select your file last, you are only able to edit the file that is selected last. After doing this, right click on the last file selected to select the option Compare Selected
. This will open both files in your editor and compare the differences between the two files.
FAQs
A tool that allows live syncing from an instructor's code project. Must be paired with code-live-instructor.
The npm package code-live-student receives a total of 1 weekly downloads. As such, code-live-student popularity was classified as not popular.
We found that code-live-student demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.