
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@sketch-hq/sketch-reference-files
Advanced tools
A store of automatically generated Sketch file JSON organised by document version and Sketch feature
A store of automatically generated Sketch file JSON organised by document version and Sketch feature.
Sketch documents are stored as ZIP archives containing JSON encoded data. The file format was originally introduced in Sketch 43 and allows for better third-party integration. For example generating, reading and modifying documents without opening them in Sketch.
In order to provide concrete examples of how different Sketch features are serialised into JSON this repo maintains an archive of reference files.
It's published as an npm module to aid use cases that may involve importing these reference files as test fixtures.
Add the npm module using npm or yarn
npm install @sketch-hq/sketch-reference-files
import files from '@sketch-hq/sketch-reference-files'
The module exports reference file metadata and json contents for each supported document version.
[
{
document: 121,
sketchVersions: ['59', '60', '61'],
files: [
{ id, name, description, data },
...
],
},
...
]
The raw reference file JSON can be accessed over HTTP via predicable urls:
This section of the readme is related to developing the reference file repo. If you just want to consume the reference file data you can safely ignore this.
1.1312.*.*| Script | Description |
|---|---|
| yarn download-apps | Download and locally cache all Sketch app binaries needed to generate the files |
| yarn generate-files | Generate reference files into the files/ folder. Existing reference files are skipped, so delete the files/ folder if you need to generate everything from scratch. This command needs to be run manually, and isn't part of the normal build |
| yarn build | Builds the module into the the dist/ folder |
| yarn changeset | Open an interactive CLI to add a changeset |
| yarn commit | Open an interactive CLI to make a git commit in the conventional commits format |
scripts/config.ts file with metadata for the new Sketch versionyarn download-apps to ensure you have the correct Sketch binaries available locallyyarn generate-files to build the reference filesfeatures/. Use the other features as a guidescripts/config.ts file with metadata for the file featureyarn download-apps to ensure you have the correct Sketch binaries available locallyyarn generate-files to build the reference filesTry and use the conventional commits convention when writing commit messages. This isn't enforced, but you can use the yarn commit command (in place of git commit -m "foo") to open an interactive CLI to walk you through generating a properly formatted commit message.
This repo uses Atlassian Changesets to automate the npm release process. Read the docs for more information, but the top-level summary is:
yarn changeset. You'll be asked to provide a change type (major, minor or patch) and a messageβ οΈ This section is automatically generated. Any manual edits will be erased during a build.
Sketch versions: 62
| Feature | Document | Pages | Meta | User |
|---|---|---|---|---|
| Empty | π | π | π | π |
| Groups | π | π | π | π |
| Images | π | π | π | π |
| Library styles | π | π | π | π |
| Library symbols | π | π | π | π |
| Prototypes | π | π | π | π |
| Shape paths | π | π | π | π |
| Shapes | π | π | π | π |
| Symbol overrides | π | π | π | π |
| Symbols | π | π | π | π |
| Text | π | π | π | π |
| Smart layout | π | π | π | π |
| Blur | π | π | π | π |
| Slice | π | π | π | π |
| Export formats | π | π | π | π |
| Variable font | π | π | π | π |
Sketch versions: 59, 60, 61
| Feature | Document | Pages | Meta | User |
|---|---|---|---|---|
| Empty | π | π | π | π |
| Groups | π | π | π | π |
| Images | π | π | π | π |
| Library styles | π | π | π | π |
| Library symbols | π | π | π | π |
| Prototypes | π | π | π | π |
| Shape paths | π | π | π | π |
| Shapes | π | π | π | π |
| Symbol overrides | π | π | π | π |
| Symbols | π | π | π | π |
| Text | π | π | π | π |
| Smart layout | π | π | π | π |
| Blur | π | π | π | π |
| Slice | π | π | π | π |
| Export formats | π | π | π | π |
| Variable font | π | π | π | π |
Sketch versions: 58
| Feature | Document | Pages | Meta | User |
|---|---|---|---|---|
| Empty | π | π | π | π |
| Groups | π | π | π | π |
| Images | π | π | π | π |
| Library styles | π | π | π | π |
| Library symbols | π | π | π | π |
| Prototypes | π | π | π | π |
| Shape paths | - | - | - | - |
| Shapes | π | π | π | π |
| Symbol overrides | π | π | π | π |
| Symbols | π | π | π | π |
| Text | π | π | π | π |
| Smart layout | π | π | π | π |
| Blur | π | π | π | π |
| Slice | π | π | π | π |
| Export formats | π | π | π | π |
| Variable font | - | - | - | - |
Sketch versions: 55.2, 56, 56.1, 56.2, 56.3, 57, 57.1
| Feature | Document | Pages | Meta | User |
|---|---|---|---|---|
| Empty | π | π | π | π |
| Groups | π | π | π | π |
| Images | π | π | π | π |
| Library styles | π | π | π | π |
| Library symbols | π | π | π | π |
| Prototypes | π | π | π | π |
| Shape paths | π | π | π | π |
| Shapes | π | π | π | π |
| Symbol overrides | π | π | π | π |
| Symbols | π | π | π | π |
| Text | π | π | π | π |
| Smart layout | - | - | - | - |
| Blur | π | π | π | π |
| Slice | π | π | π | π |
| Export formats | π | π | π | π |
| Variable font | - | - | - | - |
Sketch versions: 55, 55.1
| Feature | Document | Pages | Meta | User |
|---|---|---|---|---|
| Empty | π | π | π | π |
| Groups | π | π | π | π |
| Images | π | π | π | π |
| Library styles | π | π | π | π |
| Library symbols | π | π | π | π |
| Prototypes | π | π | π | π |
| Shape paths | π | π | π | π |
| Shapes | π | π | π | π |
| Symbol overrides | π | π | π | π |
| Symbols | π | π | π | π |
| Text | π | π | π | π |
| Smart layout | - | - | - | - |
| Blur | π | π | π | π |
| Slice | π | π | π | π |
| Export formats | π | π | π | π |
| Variable font | - | - | - | - |
2.3.0
FAQs
A store of automatically generated Sketch file JSON organised by document version and Sketch feature
The npm package @sketch-hq/sketch-reference-files receives a total of 254 weekly downloads. As such, @sketch-hq/sketch-reference-files popularity was classified as not popular.
We found that @sketch-hq/sketch-reference-files demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASPβs 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.