• Stars
    star
    185
  • Rank 208,271 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NPM package to automatically fetch gitignore files from github

gitignore

Automatically fetch github's excellent .gitignore files for any of your new projects

Here is the list of available types

Use as a global utility

Install

npm install gitignore -g

Note: If NPX (NPM's official package runner) is available in your environment you can use it to avoid a global install: ex. $ npx gitignore node is equivalent to npm i -g gitignore && gitignore node but avoids the global install step

Usage

To list out all of the available types:

gitignore -types

To create a .gitignore for rails:

gitignore rails

That's it.

Use programmatically as a module

Install

npm install gitignore

and require

var gi = require(`gitignore`);

API

.getTypes(callback)

Gets the types via https request to GitHub.

callback(err, types)

If an error occurred, or the request failed, an Error object is passed as the first parameter. If the types were successfully requested, an array of types is passed as the second parameter with null as the first.

.writeFile(options, callback)

Gets the .gitignore file from GitHub of the specified options.type and stores it in the writable stream at options.file or options.writable.

options

.type (string) - The type associated with the .gitignore file to be fetched .file, .writable (writable stream) - A writable stream (a file, sdtout, etc) that the results should be written to

callback(err)

If an error occurred or the request did not go through, an error obect is passed as the first parameter. If the request was successful, the first parameter is null or undefined.

More Repositories

1

chrome-media-keys

Chrome extension that adds media keys to most web music players
JavaScript
88
star
2

interactive-shader-format-js

Renders ISF Effects and Compositions into a canvas
JavaScript
86
star
3

EIP712-whitelisting

Solidity
55
star
4

processing-gpt

TypeScript
38
star
5

glsl-map

Map a value between one range to another
GLSL
35
star
6

glb-utils

JavaScript
20
star
7

three-vive-controller

Use Vive controllers in WebVR with a semantic event based api
JavaScript
17
star
8

cppn-tensorflow

some random imagery generation via untrained neural networks based on hardmaru's work
Jupyter Notebook
8
star
9

dat-mirror

persistently mirror your dats
JavaScript
8
star
10

solidity-json

Generate json strings in solidity
Solidity
8
star
11

aframe-environment-map-component

Automatically generate envmaps for reflections on PBR Materials
JavaScript
6
star
12

godrays

JavaScript
6
star
13

create-stellar-token

Creates a custom stellar token on testnet
JavaScript
6
star
14

create-vive-project

A webVR vive prototyping harness + project generator
JavaScript
5
star
15

blockheads-contracts

https://blockheads.family
TypeScript
4
star
16

reglparticles

JavaScript
3
star
17

stellar-nfts

TypeScript
3
star
18

ProtoKit-Mac

JavaScript
2
star
19

MidiToOSCBridge

A simple Processing based Midi <-> OSC bridge.
Processing
2
star
20

ofxHueShift

Hue shifting shader for openframeworks
C++
2
star
21

ProportionalEditing

gpu accelerated proportional mesh manipulation
JavaScript
2
star
22

ArduinoIntervalometer

Control a DSLR (Sony NEX-5 for now) with an arduino and an IR LED
Arduino
2
star
23

WebVive

Experiment with WebVR and the Vive
JavaScript
2
star
24

cc-talk

JavaScript
2
star
25

three-envmap-helper

Quickly add an hdr envmap to your THREE.MeshStandardMaterials
JavaScript
2
star
26

Mijoro-Music

Music Controller
Objective-C
2
star
27

MotorcycleMusicArduino

Arduino
2
star
28

three-matcap-material

Code from @spite's spherical environment mapping
JavaScript
2
star
29

nft-fetch

JavaScript
2
star
30

three-gltf-downloader

JavaScript
2
star
31

Cymatica

TypeScript
2
star
32

web-shader-mapper

Projection map and live edit shaders in the browser
JavaScript
2
star
33

frameless-connect

Broadcast your node app to the Frameless ios app posing as Framer Studio
JavaScript
2
star
34

MotorcycleMusicHost

Java
1
star
35

Choreographer

JavaScript
1
star
36

20-Portals

JavaScript
1
star
37

airdrop-script

JavaScript
1
star
38

FigmaPlugins

Rough experiments in figma plugins
JavaScript
1
star
39

WallpaperSwitcher

Java
1
star
40

TrippyKinect

Visuals based off the kinect
C
1
star
41

gesturetester

Playground for leap gestures
C++
1
star
42

RandomSketches

JavaScript
1
star
43

readme-on-rails

Ruby
1
star
44

videosearcher

JavaScript
1
star
45

glslify-api-server

JavaScript
1
star
46

midi-link

Event listener based WebMIDI library
JavaScript
1
star
47

PS3QCApp

Objective-C
1
star
48

sketches

HTML
1
star
49

sketcher

Processing IDE with an inspiration and color picking UI
JavaScript
1
star
50

BlarpWebVR

webvr port of cabbibo's blarp game
JavaScript
1
star
51

Dandelion

JavaScript
1
star
52

BrowserVJ

JavaScript
1
star
53

gulp-framer-skeleton

A FramerJS based gulp based skeleton project
JavaScript
1
star
54

glsl-edge-detection

GLSL
1
star
55

interactive-shader-format-v1

JavaScript
1
star
56

ThreeJS-Skeleton

A skeleton for threejs projects that lets you use npm includes and requires
JavaScript
1
star
57

three-boilerplate

Set up a standard threejs setup
JavaScript
1
star
58

personal-site

JavaScript
1
star
59

Framer-Connect-iOS

iOS app for connecting to Framer Studio prototypes
Objective-C
1
star
60

JotterWebOSNative

Jotter for webOS using the framework. Other version is faster but not native/less functional.
JavaScript
1
star