An open API service indexing awesome lists of open source software.

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

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
```