Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
aurelia-async-binding-function
Advanced tools
An Aurelia plugin that makes it possible create BindingFunctions.
An Aurelia plugin that allows you to bind to Promises.
aurelia-binding-functions
via jspm
with following commandjspm install npm:aurelia-async-binding-function npm:aurelia-binding-functions
configure
function in the main.js
file of your src
folder export function configure(aurelia) {
aurelia.use
.standardConfiguration()
.developmentLogging();
+ aurelia.use.plugin('aurelia-binding-functions');
+ aurelia.use.plugin('aurelia-async-binding-function');
aurelia.start().then(a => a.setRoot());
}
aurelia-async-binding-function
should be visible automatically.View:
<h1>
${async(myPromise)}
</h1>
ViewModel:
export class AsyncExample {
myPromise = new Promise((resolve) => setTimeout(() => resolve('hello'), 2000))
}
This library isn't used by Aurelia. It is an optional plugin.
This library can be used in the browser as well as on the server.
To build the code, follow these steps.
npm install
npm install -g gulp
gulp build
You will find the compiled code in the dist
folder, available in three module formats: AMD, CommonJS and ES6.
See gulpfile.js
for other tasks related to generating the docs and linting.
To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps:
npm install -g karma-cli
npm install -g jspm
jspm install
karma start
FAQs
An Aurelia plugin that makes it possible create BindingFunctions.
The npm package aurelia-async-binding-function receives a total of 1 weekly downloads. As such, aurelia-async-binding-function popularity was classified as not popular.
We found that aurelia-async-binding-function demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.