Skip to content

Instantly share code, notes, and snippets.

View Dionid's full-sized avatar
🌖
N2P is coming...

David Shekunts Dionid

🌖
N2P is coming...
View GitHub Profile
@zkat
zkat / index.js
Last active July 8, 2024 04:39
npx is cool
#!/usr/bin/env node
console.log('yay gist')
@brennanMKE
brennanMKE / hero.ts
Last active July 15, 2024 15:25
Example of Mongoose with TypeScript and MongoDb
import * as mongoose from 'mongoose';
export let Schema = mongoose.Schema;
export let ObjectId = mongoose.Schema.Types.ObjectId;
export let Mixed = mongoose.Schema.Types.Mixed;
export interface IHeroModel extends mongoose.Document {
name: string;
power: string;