
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
vue-titlecase
Advanced tools
A Vue.js plugin providing the function and the filter to titlecase strings.
A Vue.js plugin provides a filter and a function to titlecase a string.
^0.12.0
The algorithm is based on the gamma rule described as follows:
Glossary of Grammatical and Rhetorical Terms: title case (capitalization)
$ npm install vue-titlecase
$ bower install vue-titlecase
var Vue = require('vue')
var Titlecase = require('vue-titlecase')
// set plugin
Vue.use(Titlecase)
// create instance
new Vue({
el: '#test-titlecase',
data: {
msg: "hello world! my id is starfish. I LOVE WATCHing tv.",
}
})
Template the following:
<div id="test-titlecase" class="message">
<p>{{ msg | titlecase }}</p>
<p>{{ msg.toTitleCase() }}</p>
</div>
Output the following:
<div id="test-titlecase" class="message">
<p>Hello World! My ID is Starfish. I Love Watching TV.</p>
<p>Hello World! My ID is Starfish. I Love Watching TV.</p>
</div>
String.prototype.toTitleCase()
Converts a string instance to the titlecase form. Returns a new string.
titlecase
This is a customized Vue filter used to converts the string representation of an object to the titlecase form.
dev
: git branch my-new-topic origin/dev
git commit -am 'Add some topic'
git push origin my-new-topic
dev
branch of Haixing-Hu/vue-titlecase
repository !First you should install all depended NPM packages. The NPM packages are used for building and testing this package.
$ npm install
Then install all depended bower packages. The bower packages are depended by this packages.
$ bower install
Now you can build the project.
$ gulp build
The following command will test the project.
$ gulp test
The following command will perform the test and generate a coverage report.
$ gulp test:coverage
The following command will perform the test, generate a coverage report, and upload the coverage report to coveralls.io.
$ gulp test:coveralls
You can also run bower install
and gulp build
together with the following
command:
npm build
Or run bower install
and gulp test:coveralls
together with the following
command:
npm test
FAQs
A Vue.js plugin providing the function and the filter to titlecase strings.
The npm package vue-titlecase receives a total of 4,149 weekly downloads. As such, vue-titlecase popularity was classified as popular.
We found that vue-titlecase demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.