5a58ad276e0cab47b5142dd7a4fc5fa034b69578
# [1.2.0](https://github.com/freeCodeCamp/curriculum/compare/v1.1.3...v1.2.0) (2018-06-19) ### Bug Fixes * **challenges:** Fix typo in security challenge ([#17608](https://github.com/freeCodeCamp/curriculum/issues/17608)) ([1573455
](https://github.com/freeCodeCamp/curriculum/commit/1573455)) * blockquote-formatting-in-challenges ([#17590](https://github.com/freeCodeCamp/curriculum/issues/17590)) ([d31e0a3
](https://github.com/freeCodeCamp/curriculum/commit/d31e0a3)) ### Features * **interview-prep:** Porting Rosetta problems ([#17537](https://github.com/freeCodeCamp/curriculum/issues/17537)) ([a133a3f
](https://github.com/freeCodeCamp/curriculum/commit/a133a3f)) ### Reverts * "test(challenges): Corrected expected average value" ([#17568](https://github.com/freeCodeCamp/curriculum/issues/17568)) ([20fac4e
](https://github.com/freeCodeCamp/curriculum/commit/20fac4e))
freeCodeCamp Curriculum
This package contains the "seed" 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()"
]
}
}
},
Description
freeCodeCamp.org's open-source codebase and curriculum. Learn to code for free.
careerscertificationcommunitycurriculumd3educationfreecodecamphacktoberfestjavascriptlearn-to-codemathnodejsnonprofitsprogrammingreactteachers
Readme
503 MiB
Languages
JavaScript
47.2%
TypeScript
46.3%
CSS
6.1%
Shell
0.2%
Dockerfile
0.1%
Other
0.1%