Skip to content

Commit

Permalink
🎢 yarn init -2
Browse files Browse the repository at this point in the history
  • Loading branch information
dysbulic committed Mar 29, 2022
1 parent 2c1b21f commit ca05ef2
Show file tree
Hide file tree
Showing 6 changed files with 837 additions and 548 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

[*.{js,json,yml}]
charset = utf-8
indent_style = space
indent_size = 2
785 changes: 785 additions & 0 deletions .yarn/releases/yarn-3.2.0.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.2.0.cjs
16 changes: 1 addition & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
{
"name": "rasterize",
"version": "0.2.0",
"description": "program to emojify SVGs",
"repository": "https://github.com/dysbulic/rasterize.git",
"author": "dysbulic <[email protected]>",
"license": "CC0-1.0",
"private": false,
"main": "rasterizer",
"dependencies": {
"chrome-remote-interface": "^0.29.0",
"jsdom": "^19.0.0",
"paper": "^0.12.15",
"pluralize": "^8.0.0",
"svg-pathdata": "^6.0.3",
"yargs": "^16.2.0"
}
"packageManager": "[email protected]"
}
29 changes: 29 additions & 0 deletions spider
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/env node

const fs = require('fs')
const path = require('path')
const yargs = require('yargs/yargs')
const pluralize = require('pluralize')

const main = async () => {
const args = (
yargs(process.argv.slice(2))
.command(
'* [urls..]',
(
"This program is for downloading and saving the art from\n"
+ " Vecteezy.com using Puppeteer.\n\n"
+ "It requires Chrome be running."
),
)
.demandOption('urls')
.alias('h', 'help')
.help()
.showHelpOnFail(true, 'HELP!')
)
const argv = await args.argv
}

main()
.then(() => process.exit(0))
.catch((reason) => console.error(reason.message ?? reason))
Loading

0 comments on commit ca05ef2

Please sign in to comment.