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 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-bynder

v1.6.0

Published

Bynder sdk for nodejs.

Readme

node-bynder

Bynder sdk for nodejs.

How it works?

var Bynder = require("node-bynder");
var bynder = new Bynder({ consumer_key: "12345678-1234-1234-1234567890123456",
                          consumer_secret: "0000000000000000000",
                          token: "12345678-1234-1234-1234567890123456",
                          token_secret: "aaaaa23232312312312asd"
                        }, "http://yourbynder.url");

bynder.get.asset("86B09440-FB61-450F-AFA65FABF4F5D628", 1)
    .then(function (data) {
        console.log(data);
    });

//It should return something like this
/*
{"userCreated":"User","fileSize":240161,"dateCreated":"2017-05-30T16:47:44Z","copyright":"","width":1967,"archive":0,"brandId":"2D389252-91A2-4EFF-967F62ED8F25382C","tags":["tags"],"id":"86B02440-
FB61-450F-AFA65FABF4F5D628","isPublic":1,"idHash":"4bd9969d0037c178","dateModified":"2017-05-31T13:10:21Z","datePublished":"2017-05-30T16:44:58Z","name":"name","description":"","extension":["jpg"],"heigh
t":1311,"type":"image","orientation":"landscape","watermarked":0,"limited":0,"thumbnails":{"mini":"https://d3cy9zaslanhfa.cloudfront.net/media/592A4778-B008-4791-8B34AA56BBFCA3C5/86209440-FB61-450F-AFA65FABF4F5
D628/mini-B4FCBF62-6C30-4A9E-8ACF59453F4E62A3.jpg","webimage":"https://d3cy9zhslanhfa.cloudfront.net/media/592A4778-B018-4791-8B34AA56BBFCA3C5/86B09440-FB61-450F-AFA65FABF4F5D628/webimage-15E4704B-54D2-4FC7-84B
D8C55D60ADDC3.jpg","thul":"https://d3cy9zhslanhfa.cloudfront.net/media/592A4778-B008-4792-8B34AA56BBFCA3C5/86B09440-FB61-450F-AFA65FABF4F5D628/thul-1790E4F3-BC4D-4608-BCBF17860057D72C.jpg"},"views":9,"downloads
":0,"activeOriginalFocusPoint":{"y":655.5,"x":983.5}}
*/

Which methods are available?

I am still working in this project, so right now we have six methods:

Get asset by id

bynder.get.asset(id, version=0): It returns an object.

Get assets by options

bynder.get.assets(options): Options should be an object. There is a lot of parameters you can send to:

brandId (String): Brand id, can be retrieved using the Retrieve brands and subbrands call.

subBrandId (String): Sub-brand id, can be retrieved using the Retrieve brands and subbrands call.

categoryId (String): Category id, can be retrieved using the Retrieve categories call.

collectionId (String): Collection id, can be retrieved using the Retrieve collections call.

ids (String): Comma-separated list of asset ids. Will return a asset for each existing id.

propertyOptionId (String): Comma-separated list of (metaproperty) option ids, can be retrieved using the Retrieve metaproperties call.

tags (String): Comma-separated list of tags, can be retrieved using the Retrieve tags call.

type (String): Comma-separated list of asset types.

orientation (String): Asset orientation.

property_METAPROPERTY_NAME (String): Metaproperty option name.

keyVisual (Bool): Indicates whether or not the return should only contain assets marked as "limited usage".

keyword (String): Search on filenames, tags, extensions, collection names, guidelines, brandstore, campaigns in workflow, enriched PDFs, word documents.

dateCreated (ISO8601 format String): Retrieve assets created after this date.

dateCreatedTo (ISO8601 format String): Set a date range together with the "dateCreated" parameter.

dateCreatedOn (ISO8601 format String): Retrieve assets created on this specific date.

dateModified (ISO8601 format String): Retrieve assets modified after this date.

dateModifiedTo (ISO8601 format String): Set a date range together with the "dateModified" parameter.

dateModifiedOn (ISO8601 format String): Retrieve assets modified on this specific date.

orderBy (String): Order of the returned list of assets.

limit (Number): Maximum number of results.

page (Number): Offset page for results: return the N-th set of limit-results.

count (Number): Indicating whether or not the return should include count results.

Download asset by id

bynder.download.asset(id): It should return an object with "s3_file" attribute which is the url to file.

Download asset by id and version

bynder.download.assetVersion(id, version): It should return an object with "s3_file" attribute which is the url to file.

Get tags by options

bynder.get.tags(options): It shouuld return an array of tags. Options can contains 4 attributes.

limit (Number): Maximum number of results.

page (Number): Offset page for results: return the N-th set of limit-results.

orderBy (String): Desired order of returned tags set. Possible values: tag asc , tag desc , mediaCount asc , mediaCount desc.

keyword (String): Search on matching names.

Get collection by options

bynder.get.collections(options): It should return an array of collections. Options can contains 5 attributes.

limit (Number): Maximum number of results.

page (Number): Offset page for results: return the N-th set of limit-results.

orderBy (String): Desired order of returned tags set. Possible values: tag asc , tag desc , mediaCount asc , mediaCount desc.

keyword (String): Search on matching names.

count (Boolean): Indicates whether or not the response should include count results. Boolean

Thank you