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

@bcc-code/feathers-arangodb

v6.0.1

Published

ArangoDB Service/Adapter for FeathersJS

Downloads

244

Readme

feathers-arangodb

A Feathers database adapter for ArangoDB using official NodeJS driver for ArangoDB.

$ npm install --save arangojs @bcc-code/feathers-arangodb

Important: @bcc-code/feathers-arangodb implements the Feathers Common database adapter API and querying syntax.

This adapter also requires a running ArangoDB database server.


Test the adapter

$ npm run test

Database Options

id (optional) : String : Translated ID key value in payloads. Actual storage in database is saved in the _key key/value within ArangoDB. Defaults to _key

expandData (optional) : Boolean : Adapter filters out _rev and _id from ArangoDB. Setting expandData to true will include these in the payload results. Defaults to false

collection (required) : Collection | String : Either a string name of a collection, which will be created if it doesn't exist in database, or a reference to an existing arangoDB collection object.

view (optional) : View | String : Either a string name of a view, which will be created if it doesn't exist in database, or a reference to an existing arangoDB view object.

database (required) : Database | String : Either a string name of a database, which will be created if it doesn't exist on the ArangoDB server, or a reference to an existing ArangoDB database object.

graph (optional) : Graph | { properties, opts } : Graph options to create a new graph. name is required in the properties. See Documentation

authType (optional) : String : String value of either BASIC_AUTH or BEARER_AUTH. Used to define the type of auth to ArangoDB (see documentation). Defaults to BASIC_AUTH

username (optional) : String : Used for auth, plaintext username

password (optional) : String : Used for auth, plaintext password

token (optional) : String : If token is supplied, auth uses token instead of username/password.

dbConfig (optional) : ArangoDbConfig : ArangoDB Config file for a new database. See Documentation

events (optional) : Array : FeathersJS Events - See Documentation

paginate (optional) : FeathersJS Paginate : FeathersJS Paginate - See Documentation

Copyright (c) 2018

Licensed under the MIT license.