1.0.8 • Published 2 years ago

make_leaderboard v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Make a Leaderboard

You need to install this package

npm i make_leaderboard

You need to import from package

const makeLeaderBoard = require("make_leaderboard")

Now you need to give parameters as a 2d array with name(String) and marks(number) in that package

const LeaderBoard = makeLeaderBoard([["rancho", 45],["chatur", 32],["raju", 30],["farhan", 28],["virus", 32],["joy", 45]]) console.log(LeaderBoard)

Final output will look like

[[ 1, 'joy' ],[ 1, 'rancho' ],[ 3, 'chatur' ],[ 3, 'virus' ],[ 5, 'raju' ],[ 6, 'farhan' ]]

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago