Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Latest commit

 

History

History
55 lines (45 loc) · 2.11 KB

File metadata and controls

55 lines (45 loc) · 2.11 KB

THIS REPO IS NO LONGER BEING MAINTAINED

(...it served its purpose)





eduscraper

JavaScript Style Guide

web scrapers for creating web literacy info modules/files throughout other netizen projects. It stores the data in JSON files. run: ./index.js [type] [destination] where [destination] is a relative path to a directory you want to save the files into, and [type] can be either: attributes, elements, properties, colors, data-types, pseudo-elements, pseudo-classes, at-rules or all.

each JSON file is a "dictionary" where the keys are things like html-element names or css-property names and their values are objects that looke like:

{
  "url": "[url to online reference]",
  "keyword": {
    "html": "[marked up keyword (<a>, <code>, <strong>, etc.)]",
    "text": "[keyword (attribute name, element name, etc)]"
  },
  "description": {
    "html": "[marked up description (<a>, <code>, <strong>, etc.)]",
    "text": "[just the text description, no markup]"
  }
}

some of the JSON files have alternative structures and others additional information specific to that content.

Sources

HTML NFO

CSS NFO

JS NFO