https://github.com/ewingson/example
turns a string backwards
https://github.com/ewingson/example
backwards example experiment function npm string string-manipulation
Last synced: 7 months ago
JSON representation
turns a string backwards
- Host: GitHub
- URL: https://github.com/ewingson/example
- Owner: ewingson
- License: mit
- Created: 2020-03-04T17:45:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-05T06:22:18.000Z (over 5 years ago)
- Last Synced: 2025-02-14T03:03:03.650Z (8 months ago)
- Topics: backwards, example, experiment, function, npm, string, string-manipulation
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
@ewingson/example
[![npm (scoped)]
(https://img.shields.io/npm/v/@ewingson/example.svg)]
(https://github.com/ewingson/example)
[![npm bundle size (minified)]
(https://img.shields.io/bundlephobia/min/@ewingson/example.svg)]
(https://github.com/ewingson/example)It's modular.
# Install
```
$ npm install @ewingson/example
```# Usage
```
const example = require("@ewingson/example");example("012345");
//=> "543210"example(012345);
//=> Uncaught TypeError: @ewingson/example wants a string!
// at example (:5:42)
// at :1:1
```