Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raulil/symbol-tostring
Utility function that converts JavaScript symbols into strings
https://github.com/raulil/symbol-tostring
javascript symbol utility-function
Last synced: about 1 month ago
JSON representation
Utility function that converts JavaScript symbols into strings
- Host: GitHub
- URL: https://github.com/raulil/symbol-tostring
- Owner: RauliL
- Created: 2018-01-18T17:42:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-18T19:11:38.000Z (almost 7 years ago)
- Last Synced: 2024-04-26T11:20:30.811Z (8 months ago)
- Topics: javascript, symbol, utility-function
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# symbol-tostring [![travis][travis-image]][travis-url] [![coveralls][coveralls-image]][coveralls-url] [![npm][npm-image]][npm-url]
[travis-image]: https://img.shields.io/travis/RauliL/symbol-tostring/master.svg
[travis-url]: https://travis-ci.org/RauliL/symbol-tostring
[coveralls-image]: https://coveralls.io/repos/github/RauliL/symbol-tostring/badge.svg
[coveralls-url]: https://coveralls.io/github/RauliL/symbol-tostring
[npm-image]: https://img.shields.io/npm/v/symbol-tostring.svg
[npm-url]: https://npmjs.org/package/symbol-tostringUtility function which converts symbols into strings.
Usage:
```JavaScript
const symbolToString = require('symbol-tostring');
const foo = Symbol('foo');console.log(symbolToString(foo)); // Outputs "foo"
```