This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@tb-dev/vndb
TypeScript icon, indicating that this package has built-in type declarations

1.7.43 • Public • Published

@tb-dev/vndb

Custom query builder to interact with the VNDB database via its HTTPS API.

npm i @tb-dev/vndb

Usage

import { QueryBuilder, VNDB } from '@tb-dev/vndb';

const fields = ['title', 'image.url'];
const query = new QueryBuilder({ fields });

// Same as ['id', '=', 'v30168']
query.f('id').eq.v('v30168');

const { results } = await vndb.post.vn(query);
console.log(results);

Documentation

Read the documentation for more details.

License

MIT

Package Sidebar

Install

npm i @tb-dev/vndb

Weekly Downloads

20

Version

1.7.43

License

MIT

Unpacked Size

88.6 kB

Total Files

6

Last publish

Collaborators

  • ferreira-tb