Skip to content

Instantly share code, notes, and snippets.

View sexwithsatan's full-sized avatar

sex with satan sexwithsatan

View GitHub Profile

package.json: An interactive guide

This is an interactive guide for exploring various important properties of the package.json packaging format for node.js applications.

@sexwithsatan
sexwithsatan / 01-directory-structure.md
Created January 5, 2018 00:29 — forked from tracker1/01-directory-structure.md
Anatomy of a JavaScript/Node project.

Directory structure for JavaScript/Node Projects

While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.

Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.

Directories

  • lib/ is intended for code that can run as-is
  • src/ is intended for code that needs to be manipulated before it can be used
[user]
name = sex with satan
email = [email protected]
[push]
default = simple
[core]
symlinks = false
autocrlf = true
@sexwithsatan
sexwithsatan / dl-compact.less
Created October 30, 2017 19:50
CSS polyfill for <dl compact>
dl[compact] {
display: flex;
flex-flow: row wrap;
dt,
dd {
margin: 0;
flex-basis: 50%;
}
@sexwithsatan
sexwithsatan / blink.css
Created October 30, 2017 19:32
CSS polyfill for <blink>