Code Monkey home page Code Monkey logo

insomnia-plugin-customtimestamp's Introduction

insomnia-plugin-customtimestamp

Create a custom timestamp in insomnia rest client

Specific Timestamp

Self-explanatory, basic specific timestamp. Screenshot

Add/Subtract time from current time

Add 2 years 2 days to current time and then output it as you wish or even subtract 2 years from the current time. Screenshot

insomnia-plugin-customtimestamp's People

Contributors

gabb1995 avatar

Stargazers

Colby Mehmen avatar Reza Rachmanuddin avatar Avery Crespi avatar Scott Benton avatar Guido Schmidt avatar Corey Gwin avatar Nick Lai avatar Kudratullah avatar Konstantin Silin avatar Seth Messer avatar Andy Bao avatar Ano Rebel avatar Menno Renkens avatar Innokentiy Struchkov avatar Iuri Wollmann avatar Atul R avatar Matt Gardner avatar Cato <: Love the world and myself. avatar  avatar Branden Dane avatar Stan Svec avatar Valentyn Totskyi avatar João Eduardo avatar Leslie Owusu-Appiah avatar Shawn Rinehart avatar Liviu Grigorescu avatar Rafael Abensur avatar  avatar Maddison Hellstrom avatar Arthur avatar

Watchers

 avatar

insomnia-plugin-customtimestamp's Issues

feature request: top of hour

This project is cool. Albeit esoteric, I have the use case of need to calculate X hours out but the top of the hour (eg. 2021-04-02T16:00:00.000Z. Whether it rounds up or down is unimportant.

Remove "eg." text from function name

Having an example directly on insomnia is great and makes you understand very clearly the usage of "Specific date" and "Add time to now" but it is quite annoying when using as example is shown also when using the function on payload or environment.
image
image

Dependancy issue: moment

Stack trace:

Error: Cannot find module 'moment'
Require stack:
- C:\Users\***\AppData\Roaming\Insomnia\plugins\insomnia-plugin-customtimestamp\index.js
- C:\Users\***\AppData\Local\insomnia\app-2023.5.8\resources\app.asar\index.html
    at Module._resolveFilename (node:internal/modules/cjs/loader:1082:15)
    at o._resolveFilename (node:electron/js2c/renderer_init:2:3879)
    at Module._load (node:internal/modules/cjs/loader:927:27)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at o._load (node:electron/js2c/renderer_init:2:3109)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (C:\Users\***\AppData\Roaming\Insomnia\plugins\insomnia-plugin-customtimestamp\index.js:1:171)
    at Object.<anonymous> (C:\Users\***\AppData\Roaming\Insomnia\plugins\insomnia-plugin-customtimestamp\index.js:159:3)
    at Module._compile (node:internal/modules/cjs/loader:1269:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1324:10)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at o._load (node:electron/js2c/renderer_init:2:3109)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at q$ (file:///C:/Users/***/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:57:7484)
    at $C (file:///C:/Users/***/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:57:8229)
    at async Jp (file:///C:/Users/***/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:57:8300)
    at async EventEmitter.<anonymous> (file:///C:/Users/***/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:196:13012)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.