| Server IP : 68.183.124.220 / Your IP : 216.73.217.137 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/gavin/workspace/readjs/node_modules/simple-fmt/ |
Upload File : |
{
"_args": [
[
{
"raw": "simple-fmt@~0.1.0",
"scope": null,
"escapedName": "simple-fmt",
"name": "simple-fmt",
"rawSpec": "~0.1.0",
"spec": ">=0.1.0 <0.2.0",
"type": "range"
},
"/home/gavin/workspace/meanjs/node_modules/ng-annotate"
]
],
"_from": "simple-fmt@>=0.1.0 <0.2.0",
"_id": "simple-fmt@0.1.0",
"_inCache": true,
"_location": "/simple-fmt",
"_npmUser": {
"name": "olov",
"email": "olov.lassus@gmail.com"
},
"_npmVersion": "1.2.18",
"_phantomChildren": {},
"_requested": {
"raw": "simple-fmt@~0.1.0",
"scope": null,
"escapedName": "simple-fmt",
"name": "simple-fmt",
"rawSpec": "~0.1.0",
"spec": ">=0.1.0 <0.2.0",
"type": "range"
},
"_requiredBy": [
"/ng-annotate"
],
"_resolved": "https://registry.npmjs.org/simple-fmt/-/simple-fmt-0.1.0.tgz",
"_shasum": "191bf566a59e6530482cb25ab53b4a8dc85c3a6b",
"_shrinkwrap": null,
"_spec": "simple-fmt@~0.1.0",
"_where": "/home/gavin/workspace/meanjs/node_modules/ng-annotate",
"author": {
"name": "Olov Lassus",
"email": "olov.lassus@gmail.com"
},
"bugs": {
"url": "https://github.com/olov/simple-fmt/issues"
},
"dependencies": {},
"description": "maximally minimal string formatting library",
"devDependencies": {
"tap": "~0.4.0"
},
"directories": {},
"dist": {
"shasum": "191bf566a59e6530482cb25ab53b4a8dc85c3a6b",
"tarball": "https://registry.npmjs.org/simple-fmt/-/simple-fmt-0.1.0.tgz"
},
"homepage": "https://github.com/olov/simple-fmt#readme",
"keywords": [
"fmt",
"format",
"formatting",
"string",
"template"
],
"license": "MIT",
"main": "simple-fmt.js",
"maintainers": [
{
"name": "olov",
"email": "olov.lassus@gmail.com"
}
],
"name": "simple-fmt",
"optionalDependencies": {},
"readme": "# simple-fmt.js\nA maximally minimal string formatting library. Use it to make your code more\nreadable compared to plain old string concatenation using `+`. The code is\nshorter than the MIT license text so it doesn't hog you down and you can use\nit everywhere. Works in node and browsers.\n\n\n\n## Usage\n```javascript\nvar fmt = require(\"simple-fmt\");\nconsole.log(fmt(\"hello {0} of age {1}\", name, age));\n```\n\ninstead of\n\n```javascript\nconsole.log(\"hello \" + name + \" of age \" + age);\n```\n\nbecause string formatting with `+` makes your eyes bleed and fingers hurt.\n\n\nThere's also `fmt.obj(string, obj)` and `fmt.repeat(string, n)`:\n```javascript\nvar o = {name: \"xyz\", age: 42};\nfmt.obj(\"hello {name} of age {age}\", obj);\nfmt.repeat(\"*\", 3); // \"***\"\n```\n\nThat's it.\n\n\n\n## Installation\n\n### Node\nInstall using npm\n\n npm install simple-fmt\n\n```javascript\nvar fmt = require(\"simple-fmt\");\n```\n\n### Browser\nClone the repo and include it in a script tag\n\n git clone https://github.com/olov/simple-fmt.git\n\n```html\n<script src=\"simple-fmt/simple-fmt.js\"></script>\n```\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/olov/simple-fmt.git"
},
"scripts": {
"test": "tap test/*.js"
},
"version": "0.1.0"
}