Skip to content

Instantly share code, notes, and snippets.

View nikitadmitr's full-sized avatar
🤖
Web-developer

Nikita nikitadmitr

🤖
Web-developer
View GitHub Profile
@nmicht
nmicht / .npm-init.js
Last active April 5, 2024 12:22
Script to override the npm init. Prompts for the normal stuff, but also creates a github repository
/**
* This script can be used to override the current behave of `npm init`
* Can have a set of "defaults" values and also, will include functionality
* to create a Github repository for the project.
*
* You can set it:
* npm config set init-module YOUR-PATH/.npm-init.js
*
* Note: This is a work in progress, so there are some failures, mostly because
* npm is using promzard for the prompts, and it doesn't have async methods, so
@nikitadmitr
nikitadmitr / fonts.scss
Last active July 22, 2023 14:03
font-adding-algorithm
$path-to-fonts: '../fonts';
$font-families: (
'FontName1': ((100, 'Thin'),
(200, 'ExtraLight'),
(300, 'Light'),
(400, 'Regular'),
(500, 'Medium'),
(600, 'SemiBold'),
(700, 'Bold'),
(800, 'ExtraBold'),