We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This feature request might be useful for folks who need it:
const wl = require('whitelister'); const schema = { type: 'object', attributes: { first_name: { type: 'string', as: 'firstName' }, last_name: { type: 'string', as: 'lastName' }, type: { type: 'string', as: 'userType' }, }, }; const data = { first_name: 'John', last_name: 'Doe', type: 'VIP', }; const results = await wl(schema, data); /** * { * firstName: 'John' * lastName: 'Doe', * userType: 'VIP', * } */
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This feature request might be useful for folks who need it:
The text was updated successfully, but these errors were encountered: