{"id":13659759,"url":"https://github.com/zprodev/psd2json","last_synced_at":"2025-08-18T16:32:12.070Z","repository":{"id":48296010,"uuid":"103428076","full_name":"zprodev/psd2json","owner":"zprodev","description":"Convart PSD layout to JSON.","archived":false,"fork":false,"pushed_at":"2021-08-02T20:12:54.000Z","size":2309,"stargazers_count":29,"open_issues_count":10,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T00:41:39.173Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zprodev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-13T17:09:19.000Z","updated_at":"2024-03-10T14:57:57.000Z","dependencies_parsed_at":"2022-09-21T03:44:08.258Z","dependency_job_id":null,"html_url":"https://github.com/zprodev/psd2json","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zprodev%2Fpsd2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zprodev%2Fpsd2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zprodev%2Fpsd2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zprodev%2Fpsd2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zprodev","download_url":"https://codeload.github.com/zprodev/psd2json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230167644,"owners_count":18183837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T05:01:11.995Z","updated_at":"2024-12-18T10:12:45.278Z","avatar_url":"https://github.com/zprodev.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# psd2json\n\n[![Build Status](https://travis-ci.org/zprodev/psd2json.svg?branch=master)](https://travis-ci.org/zprodev/psd2json)\n[![npm](https://img.shields.io/npm/v/psd2json.svg)](https://www.npmjs.com/package/psd2json)\n[![license](https://img.shields.io/github/license/zprodev/psd2json.svg)](LICENSE)\n\nConvart PSD layout to JSON.\n\n![01.png](https://raw.githubusercontent.com/zprodev/psd2json/master/docs/img/01.png)\n![02.png](https://raw.githubusercontent.com/zprodev/psd2json/master/docs/img/02.png)\n\n# Usage\n\nFirst, install this module in your project.\n\n```\n$ npm install psd2json\n```\n\nImport this module to your source code and call like below.\n\n```\nvar psd2json = require('psd2json');\n\nvar jsonData = psd2json('./target.psd');                            // return JSON\nvar jsonData = psd2json('./target.psd', './outdir');                // return JSON and output /outdir/target.json /outdir/target/*.png\nvar jsonData = psd2json('./target.psd', {outJsonDir:'./outdir'});   // return JSON and output /outdir/target.json\nvar jsonData = psd2json('./target.psd', {outImgDir:'./outdir'});    // return JSON and output /outdir/target/*.png\n```\n\n# License\n\nThis software is released under the MIT License, see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzprodev%2Fpsd2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzprodev%2Fpsd2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzprodev%2Fpsd2json/lists"}