npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

photo2evernote

v0.1.1

Published

import photos to evernote save

Downloads

5

Readme

photo2evernote

将文件夹下的图片生成Evernoteenex的导入文件

安装

npm install -g photo2evernote

使用

-l 10每10M的图片分割为一条笔记,默认是100M -f 递归查找文件夹下面图片 -t title 指定生成的笔记的标题

因为会按照-l的参数来切分笔记,如果切分了多条笔记,则会在指定title 加上对应的切分数字。如title 1, title2。默认是使用改图片的上级文件夹名加上对应的切分数索引。

Example:

photo2evernote -l 100 -f -t "2015-04-22"

按照100M的限制切分笔记,并且递归查找当前文件夹下面的其他图片,指定每条笔记的标题为"2015-04-22"。执行完成,会在当前执行命令的文件夹下生成enex文件

导入enex文件

执行完命令后,如果本地是有按照Evernote的客户端的话,打开enex文件则会自动解析笔记,并询问是否将此笔记放入同步中。


后记

因为有时候想把电脑上的一些图片存储到Evernote, 但是Evernote对每一条笔记都有限制,付费用户是最大是100M。所以有些麻烦,直接选择图片拖动到Evernote的话,经常报超出了每条笔记的最大限制,所以写了这个小程序。刚开始是程序是按照限制大小来分割图片,把图片复制到一个个文件夹。然后一个一个文件夹拖动到Evernote中就可以了。还有直接读取切分好的文件夹下面的图片,使用服务端的API创建笔记。但是要传输100M的笔记那要很久,便研究了导出笔记的ENEX格式,将图片读取生成ENEX格式笔记。用客户端打开,直接让客户度去同步。后面了解到Evernote AppleScript的API,可以直接操纵本地的客户端,但是使用import是时候不能够导入笔记。询问了开发支持,这是本地客户端的一个BUG。后续没有这个问题的话会直接生成ENEX,然后使用本地客户端直接导入,无需手动打开生成的ENEX文件。