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 🙏

© 2024 – Pkg Stats / Ryan Hefner

vj-paper

v1.3.7

Published

Generate VJ project schema from AML document in Dropbox Paper

Downloads

117

Readme

Dropbox Paper to Schema Tool

Build and adjust layout in Dropbox Paper using ArchieML then generate schema in Developer Scaffold Project.

Requirements

  1. Dropbox Full API Token, get it by creating an App in Dropbox Developer Console. When prompted for app type, choose "Full Dropbox".

How to use

In project folder, run:

> npx vj-paper -t <Dropbox API Token> <Dropbox Paper URL>

If everything is alright, this will generate a CSV file source/app/vocabs/spreadsheets.csv. Copy the content to your vocabs spreadsheet then run npm run vocabs to update config.json (and get other translations).

..or just edit config.json with correct language as the command also generates a vocabs JSON file based on Paper's content.

The command also generates app.sample.[hbs|js|scss] files to show how to use the generated content.

Call npx vj-paper without any argument to see other options.

Sample Papers

Might be easier to clone and edit those instead of starting from scratch:

Available Components

This tool has some Handlebars components built-in:

  • figure - Image
  • smp - BBC SMP Player
  • text - <p>
  • timeline - A timeline container, must be on root component
  • twitter - Twitter embed
  • youtube - YouTube embed
  • paper - Auto-generated schema

Built-in components will be copied to your project, so you can hack them later. They are also ready to use out of the box by importing components/paper/paper.[hbs|js|scss] to your app files.

Just like Simple Framework, all Handlebars components in your project are available to be used in Paper but you have to import them to your app files by yourself.

Useful info

  • Put Dropbox token in env.json to avoid repeating -t option, keys: dropbox.token: "<token>".
  • Figure can download images from Dropbox to project's assets folder. On the Dropbox image, use "Create link" then use that generated link as figure's src.

To Do

  • Support for generic div & article container so can use the tool for other than timeline out of the box

  • All Sass should be imported in paper.scss, not just built-in component

  • Enable custom plugins