New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

expected-marks

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expected-marks

This package helps users to calculate their expected marks and thus predict if they will pass the exams or not

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

What is Expected-Marks?

Expected-Marks is an npm package that helps students estimate how many marks will they get in a particular examination and whether they will pass or not.

How to use Expected-Marks?

npm i expected-marks
const expect = require('expected-marks');

const results = expect(
    100, // Total obtainable marks in the examination
    35,  // Required percentage to pass
    67,  // The questions attempted whose marks combined is this
    78,  // The estimated accuracy of a student in percentage
)

const x = "Expected Marks: " + results.expected_marks + "\nIs Pass: " + results.is_pass;
console.log(x);

Keywords

expected

FAQs

Package last updated on 22 Sep 2025

Did you know?

Socket

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.

Install

Related posts