feathers-findone
Adds a .findOne()
method to services in Feathers.js v3
Install
npm install feathers-findone --save
Configure on server and client:
const findOne = app
Use
app
All it does is set query.$limit = 1
to the params and return the first result of .find()