Skip to content

Instantly share code, notes, and snippets.

Avatar
🐪

Bnaya Peretz Bnaya

🐪
View GitHub Profile
View README.md

Examples for mobx-state-tree + TypeScript article

@Bnaya
Bnaya / README.md
Created Jul 20, 2020
Basic example of fetch api + expressjs/multer using files and text fields
View README.md

Basic example of fetch api + expressjs/multer using files and text fields

View package.json
{
"name": "guykedem",
"version": "1.0.0",
"main": "index.js",
"author": "Bnaya Peretz",
"license": "MIT",
"devDependencies": {
"collections-deep-equal": "^2.0.0",
"typescript": "^3.9.6"
}
View hey.ts
import assert from "assert";
assert.strictEqual(4, 4);
View hey.ts
import assert from "assert";
assert.strictEqual(4, 4);
@Bnaya
Bnaya / jsconfig.json
Last active May 6, 2020
webdriver why you hate me so much
View jsconfig.json
{
"typeAcquisition": {},
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"checkJs": true
},
"include": ["wat.js"],
}
@Bnaya
Bnaya / PseudoOpaqueType-jsdocs-and-more.ts
Created Mar 30, 2020
PseudoOpaqueType jsdocs and more
View PseudoOpaqueType-jsdocs-and-more.ts
{
"name": "giltype",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"typescript": "^3.8.3"
}
}
@Bnaya
Bnaya / dep.ts
Last active Mar 17, 2020
ts-node + esm
View dep.ts
export function funci() {
return "AHH HHHHAAA";
}
@Bnaya
Bnaya / ..serverless-project-chrome-aws-lambda_with_layer_for_node10.md
Last active Oct 15, 2019
- NOT NEEDED ANY MORE - lambda chrome node 10
View ..serverless-project-chrome-aws-lambda_with_layer_for_node10.md

serverless project with chrome-aws-lambda with layer for node10

@Bnaya
Bnaya / myentities.ts
Last active Jul 9, 2019
typeorm-idonnowhattodo-1
View myentities.ts
import {
Entity,
JoinColumn,
ManyToOne,
Column,
PrimaryGeneratedColumn,
ManyToMany,
JoinTable,
OneToMany,
CreateDateColumn,
You can’t perform that action at this time.