{"_id":"hexo-migrator-image","_rev":"31-6f1f8557b8519d84af2e44bc9f4b3cab","name":"hexo-migrator-image","description":"Image migrator plugin for Hexo","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"hexo-migrator-image","version":"1.0.0","description":"Image migrator plugin for Hexo","main":"./bin/migrator","repository":{"type":"git","url":"https://github.com/akfish/hexo-migrator-image.git"},"keywords":["website","blog","cms","framework","hexo"],"author":{"name":"AKFish","email":"akfish@gmail.com","url":"http://catx.me"},"license":{"type":"GPLv2","url":"https://raw.github.com/akfish/hexo-migrator-image/master/LICENSE"},"engines":{"hexo":"*"},"dependencies":{"request":"*","graceful-fs":"*","async":"*","url":"*","path":"*","crypto":"*","colors":"*"},"bugs":{"url":"https://github.com/akfish/hexo-migrator-image/issues"},"_id":"hexo-migrator-image@1.0.0","dist":{"shasum":"b7bbf9ef2fe198d27c8ce7b6a9fa29cb0eaf7a25","tarball":"https://registry.npmjs.org/hexo-migrator-image/-/hexo-migrator-image-1.0.0.tgz","integrity":"sha512-vfjJIk14e6KAjlaK9esfBRnEyhUfrAmEy4mFbx5rdlTKnJXM9pw72lZYdOFw14dzBJNf/TZkCPFmRwRKw4U9HQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFWet5amx8+KqiHu3tk1HeCd6na5CJbex6qXolV6DpOFAiEAzo9peNTKfGBAZY67S4dMBOUOZLxMOICWQHMwQqonZLw="}]},"_from":"hexo-migrator-image-reloaded","_npmVersion":"1.3.11","_npmUser":{"name":"akfish","email":"akfish@gmail.com"},"maintainers":[{"name":"akfish","email":"akfish@gmail.com"}],"deprecated":"The author does not use Hexo any more. This plugin is no longer maintained."},"1.0.1":{"name":"hexo-migrator-image","version":"1.0.1","description":"Image migrator plugin for Hexo","main":"./bin/migrator","repository":{"type":"git","url":"https://github.com/akfish/hexo-migrator-image.git"},"keywords":["website","blog","cms","framework","hexo"],"author":{"name":"AKFish","email":"akfish@gmail.com","url":"http://catx.me"},"license":{"type":"GPLv2","url":"https://raw.github.com/akfish/hexo-migrator-image/master/LICENSE"},"engines":{"hexo":"*"},"dependencies":{"request":"*","graceful-fs":"*","async":"*","url":"*","path":"*","crypto":"*","colors":"*"},"bugs":{"url":"https://github.com/akfish/hexo-migrator-image/issues"},"_id":"hexo-migrator-image@1.0.1","dist":{"shasum":"2a0589264accbf562dce55a52a58d661a0876f45","tarball":"https://registry.npmjs.org/hexo-migrator-image/-/hexo-migrator-image-1.0.1.tgz","integrity":"sha512-P2kXDqbIpMgF/aoVaOXvOp2u7KtjekklAtYJtRbx0hsR5dLuqxVN90bsAEgtD0UP1PMplKqBvqrqhPeRviM2vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFnxCW9vygsvAXQEwnKdRglyffQ/jwRN5vVXgumrp2SUAiBJ1639DBvXr8IaAwoFfd0+UFUXMxHakTStDBzpGceDaA=="}]},"_from":"hexo-migrator-image-reloaded","_npmVersion":"1.3.11","_npmUser":{"name":"akfish","email":"akfish@gmail.com"},"maintainers":[{"name":"akfish","email":"akfish@gmail.com"}],"deprecated":"The author does not use Hexo any more. This plugin is no longer maintained."},"1.0.2":{"name":"hexo-migrator-image","version":"1.0.2","description":"Image migrator plugin for Hexo","main":"./bin/migrator","repository":{"type":"git","url":"https://github.com/akfish/hexo-migrator-image.git"},"keywords":["website","blog","cms","framework","hexo"],"author":{"name":"AKFish","email":"akfish@gmail.com","url":"http://catx.me"},"license":{"type":"GPLv2","url":"https://raw.github.com/akfish/hexo-migrator-image/master/LICENSE"},"engines":{"hexo":"*"},"dependencies":{"request":"*","graceful-fs":"*","async":"*","url":"*","path":"*","crypto":"*","colors":"*"},"bugs":{"url":"https://github.com/akfish/hexo-migrator-image/issues"},"_id":"hexo-migrator-image@1.0.2","dist":{"shasum":"bd5835267da7c23751587189948a17b455015f13","tarball":"https://registry.npmjs.org/hexo-migrator-image/-/hexo-migrator-image-1.0.2.tgz","integrity":"sha512-c2OjVls6l9Z4muynHw1SbW/xmoX0ffPbSIfghdEy1523rkzORwdLmU3zm26wzZlis/unKNCUv+h2DmOAcwYyBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKdH60DQcdJndVLX6UVIWA7PbGYkKab7kwnPbjW4JIsgIhAOD0GlhiAHU0DAuChYo6fFfilTlbeB+1YUdH6sI61U72"}]},"_from":"hexo-migrator-image-reloaded","_npmVersion":"1.3.11","_npmUser":{"name":"akfish","email":"akfish@gmail.com"},"maintainers":[{"name":"akfish","email":"akfish@gmail.com"}],"deprecated":"The author does not use Hexo any more. This plugin is no longer maintained."},"1.0.3":{"name":"hexo-migrator-image","version":"1.0.3","description":"Image migrator plugin for Hexo","main":"./bin/migrator","repository":{"type":"git","url":"https://github.com/akfish/hexo-migrator-image.git"},"keywords":["website","blog","cms","framework","hexo"],"author":{"name":"AKFish","email":"akfish@gmail.com","url":"http://catx.me"},"license":{"type":"GPLv2","url":"https://raw.github.com/akfish/hexo-migrator-image/master/LICENSE"},"engines":{"hexo":"*"},"dependencies":{"request":"*","graceful-fs":"*","async":"*","url":"*","path":"*","crypto":"*","colors":"*"},"bugs":{"url":"https://github.com/akfish/hexo-migrator-image/issues"},"_id":"hexo-migrator-image@1.0.3","dist":{"shasum":"c1de6bcd1868e92343dcf76bed77a85160c655e3","tarball":"https://registry.npmjs.org/hexo-migrator-image/-/hexo-migrator-image-1.0.3.tgz","integrity":"sha512-xNtlz/i1JX0Oh1xsJ6JGWkEMsjdgnRCQWCdPHjEikYvcLWfs6FVKQ6v/V0LITWL9etXSnGdFZr+0C04rfKsXhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDwf+Yd1JiYEjzgp51gPFvdVlwWXj3TzW6w/G4pkUeYOAiEA+e7nrKTe4jWoiueTpV0X8TB5EgOMXVWuYKUd3B5kz6Y="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"akfish","email":"akfish@gmail.com"},"maintainers":[{"name":"akfish","email":"akfish@gmail.com"}],"deprecated":"The author does not use Hexo any more. This plugin is no longer maintained."},"1.0.4":{"name":"hexo-migrator-image","version":"1.0.4","description":"Image migrator plugin for Hexo","main":"./bin/migrator","repository":{"type":"git","url":"https://github.com/akfish/hexo-migrator-image.git"},"keywords":["website","blog","cms","framework","hexo"],"author":{"name":"AKFish","email":"akfish@gmail.com","url":"http://catx.me"},"license":{"type":"GPLv2","url":"https://raw.github.com/akfish/hexo-migrator-image/master/LICENSE"},"engines":{"hexo":"*"},"dependencies":{"request":"*","graceful-fs":"*","async":"*","url":"*","path":"*","crypto":"*","colors":"*"},"bugs":{"url":"https://github.com/akfish/hexo-migrator-image/issues"},"_id":"hexo-migrator-image@1.0.4","dist":{"shasum":"a599e615921f9f922b72416780289ff3065b4b9e","tarball":"https://registry.npmjs.org/hexo-migrator-image/-/hexo-migrator-image-1.0.4.tgz","integrity":"sha512-TpMl30MrE+m05gULBsY4f5LYz3woGR/1m6RDbG+NShYjMIux2oW7CxGHQZiZ91Kjin/ZOvkuWseVdQqfdTXBxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpbLjr+pYGeW5cGunUyhV+q6izXQZC2qk0rlqihwjQHwIhANJOiAPM3eR9KH/jTFoniWvg5m639e/S9t5eiGC6X3Ym"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"akfish","email":"akfish@gmail.com"},"maintainers":[{"name":"akfish","email":"akfish@gmail.com"}],"deprecated":"The author does not use Hexo any more. This plugin is no longer maintained."},"1.0.5":{"name":"hexo-migrator-image","version":"1.0.5","description":"Image migrator plugin for Hexo","main":"./bin/migrator","repository":{"type":"git","url":"https://github.com/akfish/hexo-migrator-image.git"},"keywords":["website","blog","cms","framework","hexo"],"author":{"name":"AKFish","email":"akfish@gmail.com","url":"http://catx.me"},"license":{"type":"GPLv2","url":"https://raw.github.com/akfish/hexo-migrator-image/master/LICENSE"},"engines":{"hexo":"*"},"dependencies":{"request":"*","graceful-fs":"*","async":"*","url":"*","path":"*","crypto":"*","colors":"*","hexo-util":"~0.1.6","hexo-fs":"~0.1.3"},"bugs":{"url":"https://github.com/akfish/hexo-migrator-image/issues"},"_id":"hexo-migrator-image@1.0.5","dist":{"shasum":"5643ff32595af7158dfb9b385c78d69d8c297c5b","tarball":"https://registry.npmjs.org/hexo-migrator-image/-/hexo-migrator-image-1.0.5.tgz","integrity":"sha512-HHo1NwnAI9JpAnHKvKsuKI/69mZIAnIv4PryaAsDpG8EPMeTmQ1DqiZoxDWygrjtTsykz79GdJaXJZKDY1WKqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT30WCB7krbz/hXYHhh3EFVrjRZPVz9WZBray1vg4ddgIgIUtoDP0MVyxim1DeRci+tMudzBq1gKjlMbQj/hx0Qvg="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"akfish","email":"akfish@gmail.com"},"maintainers":[{"name":"akfish","email":"akfish@gmail.com"}],"deprecated":"The author does not use Hexo any more. This plugin is no longer maintained."}},"readme":"hexo-migrator-image\r\n===================\r\n\r\nA Hexo migrator that imports remote or local images referenced in markdown source\r\n\r\n## Install\r\n\r\n> npm install hexo-migrator-image\r\n\r\n## How Does It Work\r\n\r\nThis migrator scans all ```.md``` files in a hexo blog folder for Markdown's image tags.\r\nThen downloads (remote) or copies (local) files to ```source/images``` folder and updates all urls in the posts.\r\nThe images' file names are SHA1 digest of its original url.\r\nA backup file named ```.md.#timestamp#.bak``` file will be created for each ```.md``` files every time.\r\nHowever it is better to **use version control** or **make a copy** just in case.\r\n\r\n## Usage\r\n\r\n1. Writes your posts and insert images with any remote url or local file path.\r\n\r\n2. Before you deploy, run in your hexo blog folder:\r\n\r\n> hexo migrate image\r\n\r\n","maintainers":[{"name":"akfish","email":"akfish@gmail.com"}],"time":{"modified":"2022-06-18T20:27:04.435Z","created":"2014-03-06T19:51:41.088Z","1.0.0":"2014-03-06T19:51:45.294Z","1.0.1":"2014-03-06T19:54:31.396Z","1.0.2":"2014-03-06T19:55:23.787Z","1.0.3":"2014-03-19T10:42:58.991Z","1.0.4":"2014-12-21T14:30:46.116Z","1.0.5":"2015-03-22T01:19:15.485Z"},"readmeFilename":"README.md","keywords":["website","blog","cms","framework","hexo"],"repository":{"type":"git","url":"https://github.com/akfish/hexo-migrator-image.git"},"author":{"name":"AKFish","email":"akfish@gmail.com","url":"http://catx.me"},"bugs":{"url":"https://github.com/akfish/hexo-migrator-image/issues"},"license":{"type":"GPLv2","url":"https://raw.github.com/akfish/hexo-migrator-image/master/LICENSE"},"users":{"snowdream":true}}