Socket
Socket
Sign inDemoInstall

@freecodecamp/curriculum

Package Overview
Dependencies
0
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @freecodecamp/curriculum

freeCodeCamp's curriculum seed files


Version published
Weekly downloads
0
decreased by-100%
Maintainers
3
Install size
4.00 MB
Created
Weekly downloads
 

Changelog

Source

3.2.1 (2018-09-25)

Bug Fixes

  • Add videoUrl field (#298) (ce3cc22)

Bug Fixes

  • challenges: a sentence didn't make sense, so I modified it (3d77920), closes #18046
  • challenges: add missing test to check for for css class (6e42f53), closes #254
  • challenges: add note at bottom of description in d3 challenge (c60d332), closes #17767
  • challenges: add solution, test to project euler problems (f572324)
  • challenges: add solutions to first 3 debugging challenges (c2e5794)
  • challenges: add test to check user is using \W in Regex (296cf44)
  • challenges: add test to lookahead regex challenge (e044de4), closes #209
  • challenges: added code tags (065036b), closes #18054
  • challenges: added solutions to project euler problems 28, 31 (5e12499)
  • challenges: adding code tags to description (57d5b55), closes #17911
  • challenges: adding negative integer to challenge to improve tests (#211) (2adc516)
  • challenges: allow user to comment out undesired code (72c2407)
  • challenges: challenge description is formatted and concised (dcd8e45)
  • challenges: change challengeType to fix help button (ddcc661)
  • challenges: change definition of complementary colors (#299) (c022dff)
  • challenges: check for shorthand character in regex (#238) (0bf8d32)
  • challenges: commented output was wrong (3cb972e)
  • challenges: converts delete html test to regex (d80d98d), closes #251
  • challenges: corrected challenge instructions (159203a)
  • challenges: fix #17155 (cb21e59)
  • challenges: fix confusing destructuring es6 challenge (1a4f6a8), closes #213
  • challenges: fix description in css variable fallback challenge (bc33a03), closes freeCodeCamp/freeCodeCamp#17546
  • challenges: fix flex direction row regex (25ea07e), closes #260
  • challenges: fix grammar and spelling errors (#244) (b0c0b74)
  • challenges: fix grid-gap shorthand regex (#232) (a49f45e), closes #229
  • challenges: fix grid-gap shorthand regex (#237) (b369fa0), closes #229
  • challenges: fix regex in a JS challenge (#257) (6058da3)
  • challenges: fix typo in wrap-reverse description (434ea5c)
  • challenges: fixed challenge accepted without any new code (96b39c1), closes #198
  • challenges: fixed esc chars in managing packages with npm lesson (6335a15)
  • challenges: fixed tests to check for pre operators (ded4705), closes #199
  • challenges: fixed typo in algorithms and ds (31957a4)
  • challenges: Incorrect html closing tag (a1464f0)
  • challenges: insufficient objectives for javascript_algorithm/es6/19 (7707b18)
  • challenges: missing space in code example (c50cc4e)
  • challenges: remove race condition from react lifecycle challenge (a20ac56)
  • challenges: removed duplicate css top property (0a79c58)
  • challenges: rephrased wording in applied visual design (#268) (d560d58)
  • challenges: replaced em tags with code tags (68daaf7), closes #18048
  • challenges: reword test text and improve test accuracy (f834a98)
  • challenges: small edit to correct sematic issues (322bf80)
  • clickjacking challenge description (037990c)
  • challenges: spelling and grammar errors addressed (8f17adf)
  • challenges: typo (4f7faba)
  • challenges: update test and add solution for DS challenge (d1b2075), closes #164
  • challenges: Update test to include whitespace (#272) (77689f4), closes #271
  • schema: change schema and unpack script (b014b23)

Features

Readme

Source

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

Keywords

FAQs

Last updated on 25 Sep 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc