27 Commits

Author SHA1 Message Date
c0b71f4ee9 Use new getLayers function and adm-zip
New extractArchive function uses adm-zip instead of node-stream-zip, fixes bug where it wouldn’t wait for all files to be extracted before creating layers.

Replace old getLayers function with the new one that takes in a folder of layers that have already been extracted from a zip archive
2021-02-02 01:11:21 +00:00
dae607c891 Merge branch 'unit_testing' 2021-02-01 23:44:39 +00:00
98817837b8 Don’t track contents of the tmp dir 2021-02-01 23:44:23 +00:00
3fab65eaac Export all funcs 2021-02-01 23:04:30 +00:00
9d2c8f1778 fix extractArchive 2021-02-01 23:04:11 +00:00
702245e0bd Test extractArchive 2021-02-01 23:03:34 +00:00
e7e2f02581 Test getLayers 2021-02-01 23:03:00 +00:00
0548ae993c getLayers tests 2021-02-01 20:04:56 +00:00
6a6aad8192 Sample files for testing 2021-02-01 19:42:05 +00:00
00b56b1b85 Use jest 2021-02-01 19:41:34 +00:00
4c49a74fc7 Use airbnb base eslint config 2021-02-01 15:56:26 +00:00
6a874505a1 Reformat code 2021-01-31 20:37:00 +00:00
8f5408f23a Use prettier and eslint 2021-01-31 20:36:47 +00:00
3f5f530901 1.0.1 2021-01-31 14:07:59 +00:00
e9f04f57aa Update readme 2021-01-31 14:05:11 +00:00
edfa179e29 Merge branch 'package' 2021-01-30 23:06:17 +00:00
a21229c6f2 Reformat code 2021-01-30 23:05:58 +00:00
3314ac6337 Fixes 2021-01-30 22:50:23 +00:00
373efefb30 Update license and npm scope 2021-01-30 12:14:23 +00:00
2e6b529580
Create LICENSE 2021-01-30 12:13:33 +00:00
8662e3974e Tidy up
Remove testing code and old functions
2021-01-27 21:23:15 +00:00
eb7d95fba3 getLayers working 2021-01-27 20:39:57 +00:00
a1b06686fe Start working on file processing functions 2021-01-27 20:18:30 +00:00
3eb6f68926 Sample data 2021-01-26 23:51:43 +00:00
c88a879121 Image processing
Use pcb-stackup to generate svg data from gerber files and then use sharp to generate a png file from the svg buffer
2021-01-26 23:39:35 +00:00
bec6b26269 Initial commit 2021-01-26 21:47:10 +00:00
dba9e0ea0d
Initial commit 2021-01-26 21:16:40 +00:00