Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/component/title

Manipulate the document title and reset utilty
https://github.com/component/title

Last synced: 13 days ago
JSON representation

Manipulate the document title and reset utilty

Awesome Lists containing this project

README

        

# title

Manipulate the document title and reset.

## Installation

$ component install component/title

## API

### title(str, ...)

Set title to `str` with optional arguments,
where `%o` represents the original title.

```js
title('%s% - %o', upload.percent);
```

### title.reset()

Reset the title back to its original string.

## License

MIT