GithubHelp home page GithubHelp logo

faclip's Introduction

faclip

This is The clipboard tool to convert from type definition to mock data. powered by intermock.

usage

For example, copy the type definition as shown below. Make sure your clipboard contains this type definition string. A type definition called Props is the entry point for this tool.

interface Area {
  name: string;
  label: string;
}
interface Props {
  firstName: string;
  lastName: string;
  user: string;
  emailAddress: string;
  phoneNumber: number;
  area: Area[];
}

Then run npm start. The contents of your clipboard have been changed to Stub data. After that, paste this data and use it.

export const stub: Props = {
  firstName: "Anya",
  lastName: "Bartoletti",
  user:
    "Fuga assumenda eius et autem voluptatem. Non laudantium ex laborum autem. Earum ea atque aliquid aut similique et quo vero inventore. Ut explicabo est. Et molestiae quibusdam quis.\n \rDolores nesciunt ea blanditiis dolore. Ratione ducimus pariatur porro ad nam est. Natus voluptatibus nulla illum et. Aspernatur ratione ut nam laudantium ab quaerat ad nisi.\n \rMolestiae suscipit asperiores qui consectetur ex minima. Quidem molestias non perspiciatis harum non earum. Et doloribus quia quos debitis vel quo. Eos saepe dolore laborum dicta totam doloremque hic pariatur.",
  emailAddress: "[email protected]",
  phoneNumber: 47027,
  area: [
    {
      name: "Ms. Christopher Jaskolski",
      label:
        "Quaerat et numquam atque ex distinctio nostrum. Sequi ipsa quod. Hic quis quas libero voluptatibus voluptatem quo. Eos quia et et error esse alias soluta voluptas cumque.",
    },
    {
      name: "Christiana MacGyver",
      label: "Consequuntur earum autem alias a id totam hic aperiam eos.",
    },
    { name: "Toy Pagac", label: "nostrum assumenda qui" },
    {
      name: "Howard Koch",
      label:
        "Necessitatibus non nihil dignissimos ab et harum quibusdam.\nMinus aliquid debitis vel quas.\nBeatae voluptates ex error non ut molestiae exercitationem.",
    },
  ],
};

faclip's People

Contributors

takefumi-yoshii avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

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.