Socket
Socket
Sign inDemoInstall

gengojs-default-api

Package Overview
Dependencies
94
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.7 to 0.0.8

2

package.json
{
"name": "gengojs-default-api",
"version": "0.0.7",
"version": "0.0.8",
"description": "The default router plugin for gengojs",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -80,20 +80,2 @@ # gengojs-default-api

## Reserved words
There are a few reserved words in the API. These words are used for
overriding purposes. See the example:
```javascript
// Using 'phrase' keyword:
__({phrase:'Hello!'});
// Using 'parser' keyword which
// overrides the parser:
// See https://github.com/iwatakeshi/gengojs-default-parser
// for more details.
__('Hello!', {parser:'default'});
// Using 'locale' keyword which
// overrides the locale:
__('You have {n, plural, =0 {no photos.}=1 {one photo.}other {# photos.}}', {parser:'format'});
```
## Contribute

@@ -100,0 +82,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc