title icon indicating copy to clipboard operation
title copied to clipboard

A service for capitalizing your title properly

Results 17 title issues
Sort by recently updated
recently updated
newest added

## Commit message In [this PR](https://github.com/sindresorhus/clipboardy/pull/59), support for WSL was added in `clipboardy` v2.3.0. Since WSL support for `title` would be nice, `clipboardy`'s version was increased from 1.2.2 to 3.0.0....

[String.prototype.substr()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) is deprecated so we replace it with [String.prototype.slice()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice) which works similarily but isn't deprecated. .substr() probably isn't going away anytime soon but the change is trivial so it doesn't...

It'd be great to support both ESM and CJS here. https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

I'm noticing that the word following closing parentheses is always lowercased. For instance, "Walter (Walt) Thompson" is switched to "Walter (Walt) thompson".

```js title('Package JSON') // => 'package.json' ``` Using a library such as [`escape-string-regexp`](https://www.npmjs.com/package/escape-string-regexp) should fix the issue.

To address #69, I read through an article about how to convert packages to pure ESM [^1]. `cjstoesm` was quite helpful here [^2]. But it didn't talk about how to...

I was able tree shake `title` from _app file only after adding `sideEffects: false`

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies

### Summary Closes #94 This PR refactors the complex regex logic in `src/index.ts` by extracting it into a dedicated `title-regex.ts` module. ### Changes - Created a new module `src/title-regex.ts` -...