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

node-flinks

v0.5.1

Published

Flinks API wrapper for Node.js

Downloads

7,489

Maintainers

neo-paula-grangeironeo-paula-grangeirogaulfordgaulforddanielafekhume-neodanielafekhume-neojashish_mjashish_mneo-lior-ben-shaharneo-lior-ben-shaharneo-diego-nunesneo-diego-nunestim-neo2tim-neo2antonio.canabravaantonio.canabravaneo.eduardoyuidyneo.eduardoyuidyneoricardogcolomboneoricardogcolombokirstyrobertsonkirstyrobertsonneo-oleksandr-yanchenkoneo-oleksandr-yanchenkoneo-matt-adamsneo-matt-adamsneo-barry-lineo-barry-lidesmond-maloneydesmond-maloneyharmeetsalechharmeetsalechneo-elgiz-abbasovneo-elgiz-abbasovnikita-syrotenkonikita-syrotenkoneo-bclausineo-bclausidustinn1235dustinn1235neo-prerakkumar-patelneo-prerakkumar-patelneo-peter-spanglerneo-peter-spanglerneo-rivan-motaneo-rivan-motaneo-daniel-brennanneo-daniel-brennanneo-matt-feliceneo-matt-feliceneo-rameez-virjineo-rameez-virjimatt-armstrongmatt-armstrongrajanatneorajanatneojosephmajosephmaneo-fredyneo-fredybhavekbhavekneo-zhaoquan-zhangneo-zhaoquan-zhangalejandrogarbialejandrogarbironellgarciaronellgarciagui.martinsgui.martinsedward.nazarovedward.nazarovannakumovaannakumovaleah-is-offlineleah-is-offlineneo-shruti-goyalneo-shruti-goyalfelipe.minettofelipe.minettoneo-kevin-hillardneo-kevin-hillardneo-ahmed-jamaneo-ahmed-jamaolgavozniukolgavozniuktunde-neotunde-neoneo-shubham-patelneo-shubham-patelbiancaballenabiancaballenaneo-sacha-cunaneo-sacha-cunajadondubyjadondubymsalamamsalamaani-samajpati-neoani-samajpati-neoishmeet.rayatishmeet.rayatneo-bryce-brandfordneo-bryce-brandfordneo-raheel-junaidneo-raheel-junaidneo-ricardo-gomezneo-ricardo-gomezneo-lawrence-liuneo-lawrence-liuedwardkrugeredwardkrugerneobot1neobot1neo-dakota-chattneo-dakota-chattlucasjohannsonlucasjohannsonneo-travis-friesenneo-travis-friesenmike.himbeault-neomike.himbeault-neoraul.ribeiroraul.ribeironeo-shraddhaneo-shraddhaanhtranneoanhtranneolucachameckilucachameckiamievishwaamievishwaneo-matias-wengielneo-matias-wengielini-aini-aneo-ahmed-seifelnasrneo-ahmed-seifelnasrrhullyamrhullyamdas-bossdas-bosskennethcolinakennethcolinafeminachackofeminachackomarvindeleonmarvindeleonneo-miguel-castroneo-miguel-castroneo-dione-silvaneo-dione-silvahanna.tkachenkohanna.tkachenkonico-connornico-connorroman.mnatsakanianroman.mnatsakanianriley-pickerlriley-pickerlthomas-llewellyn-neothomas-llewellyn-neobriancruzbriancruzamjad-mahfoud-neoamjad-mahfoud-neoneoauderesantosneoauderesantosnitin.madannitin.madanmohpormohporcghenneneocghenneneopunit.patelpunit.patelbrayden_sc_neobrayden_sc_neoanna_benemanskaiaanna_benemanskaiahrishikeshkalehrishikeshkalekyle-elyk-neokyle-elyk-neomichelepipernimichelepipernineo-youre_penaneo-youre_penaneo-michal-kowalneo-michal-kowalniconeimanniconeimanneodiegobeltranneodiegobeltranstburkestburkemarcelo.matosmarcelo.matosmatheusicaromatheusicarodivanshudivanshumaiahneomaiahneokimberlytranneokimberlytranneorjberryrjberryneo-carlos-pierenneo-carlos-pierenmohamedalhammoudmohamedalhammoudneo-hasanpreetsinghneo-hasanpreetsinghirakitnykhirakitnykhjcavalcantijcavalcantistephanie-wang-neostephanie-wang-neokaelanneofinancialkaelanneofinancialvinicius-barcelosvinicius-barcelosmoushumi-dasmoushumi-dasbenx-neobenx-neomhowitt-neomhowitt-neomalcolm-neomalcolm-neoneo-seol-kimneo-seol-kimbrentcambrentcamteena_teena_deankimdeankimherculesjrherculesjrmatthew.belfordmatthew.belfordrishbarrishbarneo-baonguyenneo-baonguyencaio.andradecaio.andradescott.wiedemannscott.wiedemannthomawstrahnthomawstrahnluan.leluan.ledennisbartheldennisbarthellavanya.mohanlavanya.mohanleosbelsotomayorleosbelsotomayordhruvangdhruvangneo-rodrigoravalneo-rodrigoravaljoeljwoodjoeljwoodnahom-neonahom-neostefan.amyottestefan.amyottetimothy.couch.neofinancialtimothy.couch.neofinancialscottkayeneoscottkayeneoomolaraomolaraar-iesar-iescjnewmancjnewmansidney.dizonsidney.dizonvidalrmrzvidalrmrzrnetto46rnetto46iansuiansudarrenpicard25darrenpicard25maxgoomaxgoostschmaltzstschmaltzusernamesebusernameseberic.zaporzan.neoeric.zaporzan.neolucasparreiralucasparreiralewishorwoodlewishorwoodcraigsiemenscraigsiemensdiegobmydiegobmyjoelsimpsonjoelsimpsonjooh-leejooh-leekasrababaeikasrababaeimattlabarremattlabarreu2v22u2v22johnclendvoyjohnclendvoydemaestrodemaestrosudeep.sidhusudeep.sidhudaylan.lawdaylan.lawsean.heintzsean.heintzneo-stephenneo-stephenneogibsonneogibsonberakiberakivrochamaaiavrochamaaiad_fenniakd_fenniakmato-gallardomato-gallardoadamtranquillaadamtranquillanehasingh1801nehasingh1801lucaslongarinilucaslongarinierozonachierozonachifaddoulfaddoullovekesh1lovekesh1jeffrey-dugas-neojeffrey-dugas-neopichatellipichatellinpoltz-neonpoltz-neo

Keywords

Readme

Node Flinks

Build status

A Flinks API wrapper for Node.js

Usage

Installation

npm install node-flinks

Creating a client

import FlinksClient from 'node-flinks';

const instanceName = 'toolbox'; // Flinks sandbox instance
const clientId = '43387ca6-0391-4c82-857d-70d95f087ecb'; // Flinks sandbox clientId

const flinks = new FlinksClient(instanceName, clientId);

Creating a token

When using OAuth with Flinks you must first make a token request where you exchange a clientId, and secret for a response that contains an accessToken.

const flinksTokenResponse = await flinks.token( clientId: '<your clientId>', secret: '<your secret>');

Making an authorize request

After creating a token or if not using OAuth you need make an authorize request where you exchange a loginId for a requestId.

const requestId = await flinks.authorize({ loginId: '<your loginId>' });

Requesting accounts detail

Once you have a requestId you can request the user's accounts detail.

const accountsDetail = await flinks.getAccountsDetail({ requestId: '<your requestId from earlier' });

Debugging

This library uses the debug library. To print debug messages for node-flinks set DEBUG=node-flinks:*.

API

The API of this library mostly follows the Flinks API as specified in the REST API docs. The main difference is that the Flinks API uses PascalCase for object keys and this library uses camelCase.

Here is a list of all the Flinks API endpoints along with the corresponding library method. We have not yet implemented all the endpoints in the Flinks REST API. If an endpoint you need is missing please consider submitting a pull request.

| Endpoint | Client Method | Reference | | ---------------------------- | ------------------------- | --------------------------------------------------------------------------------------------- | | /AnswerMFAQuestions | Not implemented | Docs | | /Attributes | Not implemented | Docs | | /Authorize | authorize | Docs | | /DeleteCard | Not implemented | Docs | | /GenerateAuthorizeToken | Not implemented | Docs | | /GetAccountsDetail | getAccountsDetail | Docs | | /GetAccountsDetailAsync | getAccountsDetailAsync | Docs | | /GetAccountsSummary | getAccountsSummary | Docs | | /GetAccountsSummaryAsync | getAccountsSummaryAsync | Docs | | /GetAllAttributes | Not implemented | Docs | | /GetCreditRiskAttributes | Not implemented | Docs | | /GetIncomeAttributes | Not implemented | Docs | | /GetMFAQuestions | Not implemented | Docs | | /GetStatements | getStatements | Docs | | /GetUserAnalysisAttributes | Not implemented | Docs | | /Investments | Not implemented | Docs | | /SetScheduledRefresh | Not implemented | Docs | | /Token | token | Docs |

Contributing

Development

  1. Clone this repo
  2. npm install
  3. npm link
  4. In the package you want to test in run npm link node-flinks
  5. Build package with npm run build or turn on watch mode with npm run watch

Testing

npm test

Building

npm run build

If you need to clear the build cache run npm run clean

Publishing

  1. Update the version in package.json
  2. Add a CHANGELOG entry
  3. Commit your changes
  4. Run npm pack --dry-run to see what will be published
  5. Run npm publish
  6. Create a release on GitHub. Use the version as the tag and release name. For example for version 1.0.0 the tag and release name would be v1.0.0.