canned icon indicating copy to clipboard operation
canned copied to clipboard

Server to respond with fake API responses, by using a directory of files for finding out what to say!

Results 19 canned issues
Sort by recently updated
recently updated
newest added

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.4 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 2.8.8 (2020-02-29) Bug Fixes #61 & #65...

dependencies

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

According to [optimist documentation](https://www.npmjs.com/package/optimist), this package is deprecated. Is it possible to replace this with [minimist](https://www.npmjs.com/package/minimist) instead? The optimist package is throwing vulnerabilities in snyk.

help wanted

Currently the documentation lives in the readme, which is not ideal, maybe consider moving it to something like readthedocs.org for better viewablity and access. What would be involved in doing...

new contributors
documentation

- can define `proxy` in options as a domain to forward requests with unknown path to - requests with unknown path will be forwarded to proxy domain, and response provided...

I observe the following: pmu:tmp pmu$ mkdir api pmu:tmp pmu$ cat > api/posts.json [ "123" ] pmu:tmp pmu$ canned starting canned on port 3000 for ./ request: get /api/posts.json /usr/local/share/npm/lib/node_modules/canned/lib/response.js:17...

I have a file called `_userAccount.get.json` living in `some/path/any/another/path/_userAccount.get.json` I want this file to be returned as a JSON response when my client accesses `http://localhost:3000/some/path/12345/another/path/userAccount` but with canned 0.3.7 this...

enhancement

I'm trying to figure out how to use the following example from the docs: /comment/any/votes/index.get.json it seems to me like requests such as GET /comment/1/votes/ GET /comment/asdfasdf/votes/ or even GET...

bug