UNPKG

tesla-title

Version:

Get Tesla vehicles title based on option codes

32 lines (21 loc) 1.17 kB
<div align="center"> <img src="https://teslahunt.io/banner-red.png" alt="tesla-title"> <br><br> </div> ![Last version](https://img.shields.io/github/tag/teslahunt/tesla-title.svg?style=flat-square) [![Coverage Status](https://img.shields.io/coveralls/teslahunt/tesla-title.svg?style=flat-square)](https://coveralls.io/github/teslahunt/tesla-title) [![NPM Status](https://img.shields.io/npm/dm/tesla-title.svg?style=flat-square)](https://www.npmjs.org/package/tesla-title) > Get Tesla vehicles title based on option codes. ## Install ```bash $ npm install tesla-title --save ``` ## Usage ```js const title = require('tesla-title') title({ optionCodes: ['MDLS', 'BT85', 'DV4W'] }) // => 'Model S 85D' ``` ## License **tesla-title** © [Tesla Hunt](https://teslahunt.io), released under the [MIT](https://github.com/teslahunt/title/blob/master/LICENSE.md) License.<br> Authored and maintained by [Tesla Hunt](https://teslahunt.io) with help from [contributors](https://github.com/teslahunt/title/contributors). > [teslahunt.io](https://teslahunt.io) · GitHub [teslahunt](https://github.com/teslahunt) · Twitter [@teslahuntio](https://twitter.com/teslahuntio)