Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SKP #351

Merged
merged 3 commits into from Apr 23, 2020
Merged

Conversation

g-pascal
Copy link
Contributor

This branch adds support for the SketchUp file format. There is no public specifications, but the magic bytes are easily found (all .skp files start with the ASCII string ....S.k.e.t.c.h.U.p...M.o.d.e.l.). This page confirms the magic bytes.

I did not find an official source for the mime-type, but application/vnd.sketchup.skp is quite widely referenced on internet. This page references this mime type.

This is my first PR (ever) to an open-source project, please tell me if there is anything I can improve!

@sindresorhus
Copy link
Owner

@g-pascal
Copy link
Contributor Author

I already added the 'skp' extension to the extensions array, and the mime application/vnd.sketchup.skp to the mimeTypes array. Is there anything else to do ?

+ fix package.json indentation
@sindresorhus sindresorhus merged commit 30e8354 into sindresorhus:master Apr 23, 2020
@sindresorhus
Copy link
Owner

Looks good now. Thanks ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants