@freecodecamp/curriculum

freeCodeCamp's curriculum seed files

This package has not been updated for a long while. Use at your own risk
$ cnpm install @freecodecamp/curriculum 
SYNC missed versions from official npm registry.

freeCodeCamp Social Banner

freeCodeCamp Curriculum

Build Status npm (scoped) Pull Requests Welcome first-timers-only Friendly

This package contains the "challenge" files used in the freeCodeCamp Curriculum.

Installation

npm i @freecodecamp/curriculum
# or
yarn add @freecodecamp/curriculum

Usage

import { getChallenges } from '@freecodecamp/curriculum';

// fetch an array of blocks
// i.e. basic CSS, functional programming, etc.
getChallenges()

block Structure

{
  "name": "ES6",
  "order": 2,
  "time": "5 hours",
  "helpRoom": "Help",
  "challenges": [/*<challenge>*/],
  "fileName": "02-javascript-algorithms-and-data-structures/es6.json",
  "superBlock": "javascript-algorithms-and-data-structures",
  "superOrder": 2
}

challenge Structure

{
  "id": "ObjectId()",
  "title": "Declare a Read-Only Variable with the const Keyword",
  "description": [
    "A Description of the challenge and what is required to pass"
  ],
  "tests": [
    {
      "text": "should return \"foo\"",
      "testString": "a stringified function using Chai asserts"
    }
  ],
  "challengeType": 1,
  "translations": {},
  "files": {
    "indexjs": {
      "key": "indexjs",
      "ext": "js",
      "name": "index",
      "contents": [
        "Initial editor seed"
      ],
      "head": [
        "A place for test set up",
        "Can be thought of as mocha's beforeEach()"
      ],
      "tail": [
        "A place for test tear down",
        "Can be thought of as mocha's afterEach()"
        ]
    }
  }
},

Contributing

  1. ???? Fork this repo
  2. ????️ Follow the contributing guidelines outlined in Contributing Guidelines.
  3. ???? Make some awesome changes!
  4. ???? Make a pull request
  5. ???? Get your pull request approved - success!

License

Copyright (c) 2018 freeCodeCamp.

The curricular content in this repo is licensed under the CC-BY-SA-4.0

Current Tags

  • 3.2.1                                ...           latest (2 years ago)
  • 0.0.0-next.4                                ...           next (2 years ago)

22 Versions

  • 0.0.0-next.4                                ...           2 years ago
  • 0.0.0-next.3                                ...           2 years ago
  • 0.0.0-next.2                                ...           2 years ago
  • 0.0.0-next.1                                ...           2 years ago
  • 3.2.1 [deprecated]           ...           2 years ago
  • 3.2.0 [deprecated]           ...           2 years ago
  • 3.1.2 [deprecated]           ...           2 years ago
  • 3.1.1 [deprecated]           ...           2 years ago
  • 3.1.0 [deprecated]           ...           2 years ago
  • 3.0.1 [deprecated]           ...           2 years ago
  • 3.0.0 [deprecated]           ...           2 years ago
  • 2.0.0 [deprecated]           ...           2 years ago
  • 1.2.1 [deprecated]           ...           2 years ago
  • 1.2.0 [deprecated]           ...           2 years ago
  • 1.1.3 [deprecated]           ...           2 years ago
  • 1.1.2 [deprecated]           ...           2 years ago
  • 1.1.0 [deprecated]           ...           2 years ago
  • 1.0.4 [deprecated]           ...           2 years ago
  • 1.0.3 [deprecated]           ...           2 years ago
  • 1.0.2 [deprecated]           ...           2 years ago
  • 1.0.1 [deprecated]           ...           2 years ago
  • 1.0.0 [deprecated]           ...           2 years ago
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |