esijs
Version:
A simple module for ESI.
26 lines (17 loc) • 783 B
Markdown
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
### Table of Contents
- [planRoute][1]
- [Parameters][2]
## planRoute
Get the systems between the origin and the destination.
### Parameters
- `origin` **[number][3]** 
- `destination` **[number][3]** 
- `flag` **[string][4]** (optional, default `'secure'`)
- `avoid` **\[[number][3]]** (optional, default `[]`)
Returns **[Promise][5]<\[[number][3]]>** 
[1]: #planroute
[2]: #parameters
[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise