Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/component/title
- Owner: component
- Created: 2013-01-16T00:02:31.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-09T19:28:36.000Z (about 11 years ago)
- Last Synced: 2024-05-08T17:06:15.336Z (8 months ago)
- Language: JavaScript
- Size: 99.6 KB
- Stars: 10
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
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