npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

my-kssr-list

v1.0.0

Published

Library for programmatically fetch Content Standards & Learning Standards from DSKP

Downloads

2

Readme

MyKSSRList

Library for programmatically fetch Content Standards & Learning Standards from DSKP

WARNING

This repo has partial data. Data will be updated from time to time until it is 100% coverage for KSSR and KSSM

Install

npm i my-kssr-list

Usage

  • ES6 Module usage

    import MKL from 'my-kssr-list'

Docs

getAllTahun()

It returns all Tahun

type: array of json

[
    {
        "id": "1",
        "tahun": "Tahun 1"
    },
    {
        "id": "2",
        "tahun": "Tahun 2"
    },
    {
        "id": "3",
        "tahun": "Tahun 3"
    },
    {
        "id": "4",
        "tahun": "Tahun 4"
    },
    {
        "id": "5",
        "tahun": "Tahun 5"
    },
    {
        "id": "6",
        "tahun": "Tahun 6"
    }
]

getSubjectsByTahunID(tahunID)

It accepts a valid id eg: '1' from tahun and returns Subject Details

type: array of json

[
    {
        "id": "1",
        "id_tahun": "1",
        "subjek": "Bahasa Melayu"
    },
    {
        "id": "2",
        "id_tahun": "1",
        "subjek": "Bahasa Inggeris"
    },
    {
        "id": "3",
        "id_tahun": "1",
        "subjek": "Bahasa Cina"
    },
    {
        "id": "4",
        "id_tahun": "1",
        "subjek": "Bahasa Tamil"
    },
    {
        "id": "5",
        "id_tahun": "1",
        "subjek": "Matematik"
    },
    {
        "id": "6",
        "id_tahun": "1",
        "subjek": "Pendidikan Islam"
    },
    {
        "id": "7",
        "id_tahun": "1",
        "subjek": "Pendidikan Moral"
    },
    {
        "id": "8",
        "id_tahun": "1",
        "subjek": "Sains"
    },
    {
        "id": "9",
        "id_tahun": "1",
        "subjek": "Pendidikan Jasmani dan Kesihatan"
    },
    {
        "id": "10",
        "id_tahun": "1",
        "subjek": "Pendidikan Kesenian"
    },
    {
        "id": "11",
        "id_tahun": "1",
        "subjek": "Bahasa Arab"
    },
    {
        "id": "12",
        "id_tahun": "1",
        "subjek": "Bahasa Iban"
    },
    {
        "id": "13",
        "id_tahun": "1",
        "subjek": "Bahasa Kadazandusun"
    },
    {
        "id": "14",
        "id_tahun": "1",
        "subjek": "Bahasa Semai"
    }
]

getStandardKandunganBySubjectID(subjectID)

It accepts a valid subject ID eg: '1' and returns Standard Kandungan Details

type: list of json

[
    {
        "id": "13",
        "id_subjek": "1",
        "id_sk": "1.1",
        "standard_kandungan": "Mendengar dan memberikan respons"
    },
    {
        "id": "14",
        "id_subjek": "1",
        "id_sk": "1.2",
        "standard_kandungan": "Bertutur untuk menyampaikan maklumat dan idea bagi pelbagai tujuan"
    },
    {
        "id": "15",
        "id_subjek": "1",
        "id_sk": "2.1",
        "standard_kandungan": "Asas membaca dan memahami"
    },
    {
        "id": "16",
        "id_subjek": "1",
        "id_sk": "2.2",
        "standard_kandungan": "Membaca, memahami, dan menaakul bahan grafik dan bukan grafik"
    },
    {
        "id": "17",
        "id_subjek": "1",
        "id_sk": "2.3",
        "standard_kandungan": "Membaca dan mengapresiasi karya sastera dan bukan sastera"
    },
    {
        "id": "18",
        "id_subjek": "1",
        "id_sk": "3.1",
        "standard_kandungan": "Asas menulis"
    },
    {
        "id": "19",
        "id_subjek": "1",
        "id_sk": "3.2",
        "standard_kandungan": "Menulis perkataan, frasa, dan ayat yang bermakna"
    },
    {
        "id": "20",
        "id_subjek": "1",
        "id_sk": "3.3",
        "standard_kandungan": "Menghasilkan penulisan"
    },
    {
        "id": "21",
        "id_subjek": "1",
        "id_sk": "4.1",
        "standard_kandungan": "Mengaplikasikan unsur keindahan dan kesantunan bahasa dalam bahan sastera"
    },
    {
        "id": "22",
        "id_subjek": "1",
        "id_sk": "4.2",
        "standard_kandungan": "Menghayati keindahan dan kesantunan bahasa dalam bahan sastera"
    },
    {
        "id": "23",
        "id_subjek": "1",
        "id_sk": "4.3",
        "standard_kandungan": "Menghasilkan bahan sastera dengan menyerapkan keindahan dan kesantunan bahasa serta mempersembahkannya secara kreatif"
    },
    {
        "id": "24",
        "id_subjek": "1",
        "id_sk": "5.1",
        "standard_kandungan": "Memahami fungsi dan menggunakan golongan kata mengikut konteks"
    },
    {
        "id": "25",
        "id_subjek": "1",
        "id_sk": "5.2",
        "standard_kandungan": "Memahami dan menggunakan pembentukan kata mengikut konteks"
    },
    {
        "id": "26",
        "id_subjek": "1",
        "id_sk": "5.3",
        "standard_kandungan": "Memahami dan membina ayat mengikut konteks"
    }
]

getStandardPembelajaranBySKID(subjectID, skID)

It accepts a valid subjectID eg: '2' and a valid skID eg: '4.2' returns Standard Pembelajaran Details

type: list of json

[
    {
        "id": "26",
        "subject_id": "2",
        "sk_id": "4.2",
        "standard_pembelajaran": "4.2.1 Give very basic personal information using fixed phrases"
    },
    {
        "id": "27",
        "subject_id": "2",
        "sk_id": "4.2",
        "standard_pembelajaran": "4.2.2 Greet, say goodbye, and express thanks using suitable fixed phrases"
    },
    {
        "id": "28",
        "subject_id": "2",
        "sk_id": "4.2",
        "standard_pembelajaran": "4.2.3 Express basic likes and dislikes"
    },
    {
        "id": "29",
        "subject_id": "2",
        "sk_id": "4.2",
        "standard_pembelajaran": "4.2.4 Name or describe objects using suitable words from word sets"
    },
    {
        "id": "30",
        "subject_id": "2",
        "sk_id": "4.2",
        "standard_pembelajaran": "4.2.5 Connect words and proper names using ‘and’"
    }
]

Change Logs

v1.0.0

  1. Initial commit.