
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A simple tester for 42 Piscine, written in Javascript and runs on Node.js runtime.
42grader is avaliable in npm, so just rum npm install:
npm i -g 42grader
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
nvm install --lts
npm i -g 42grader
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
nvm install --lts
~/.localWARNING: YOU HAVE TO UNDERSTAND WHAT CHANGING NPM PREFIX MEANS. IF NOT, YOU SHOULD NOT RUN THIS COMMAND.
npm config set prefix '~/.local/'
echo 'export PATH=~/.local/bin/:$PATH' >> ~/.zshrc
zsh
npm i -g 42grader
42grader command runs 42Grader.
Interactive shell prompt will be displayed. Follow the instructions in prompt.
42Grader will use ~/.42Grader folder.
~/.42Grader/
├─ submission/
│ └─ (cloned git files)
└─ test/
└─ tester files
submissions folder must exists if you choose no to clone git from remote.
The tester file must exist as a yaml format if you choose yes to run test(s).
Tester file should be written in yaml format.
directory field.Files to turn in from your pdf to file field.testcase, you can use standard functions in stdio.h, stdlib.h, string.h and unistd.h.\n or real newline.This is sample tester file:
test:
- directory: ex00
file: ft_putchar.c
function: void ft_putchar(char c);
testcase: |
ft_putchar('a');
ft_putchar('b');
answer: |
ab
- directory: ex01
file: ft_print_alphabet.c
function: void ft_print_alphabet(void);
testcase: |
ft_print_alphabet();
answer: |
abcdefghijklmnopqrstuvwxyz
- directory: ex02
file: ft_print_reverse_alphabet.c
function: void ft_print_reverse_alphabet(void);
testcase: |
ft_print_reverse_alphabet();
answer: |
zyxwvutsrqponmlkjihgfedcba
Do not use 42grader v1 in ./grader v1. It was written in C but it's almost trash;
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
FAQs
A Grader framework for 42 Piscine
The npm package 42grader receives a total of 16 weekly downloads. As such, 42grader popularity was classified as not popular.
We found that 42grader 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.