open-index/open-npm huggingface dataset:
npm package: @smartim/v-http
Description: > VHttp Component for Vue 2.x
Author: San Kumar
Latest version: 0.0.3

# VHttp
> VHttp Component for Vue 2.x

## Install

``` bash
    npm install v-http --save
```

## Demo

For demo, please [see here](https://jsfiddle.net/superasn/n25r8gvd/) 

## Usage

*1\. Import the component*

```
import VHttp from 'v-http';
```

*2\.1 Use it globally*

```
Vue.use(VHttp);
```

*2\.2 Or use it locally*

```
components: {
    'v-http': VHttp
},
```

*3\. Update your app or template:*
```
<div>
...
<v-http></v-http>
...
</div>
```

## Properties

There are no properties.

## Example

Please see [App.vue](https://bitbucket.org/smart-im-npm/v-http/src/App.vue) for example use.


## Contributing
Contributions are welcome

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build
```
npm package: @smartinsf/redmine-client
Description: A client for Redmine REST API
Author: Samuel Martins
Latest version: 0.5.0

<h1 align="center">Welcome to Node Redmine API Client 👋</h1>
<p>
  <img alt="Version" src="https://img.shields.io/badge/version-0.1.0-blue.svg?cacheSeconds=2592000" />
  <img src="https://img.shields.io/badge/node-%3E%3D10-blue.svg" />
  <a href="#" target="_blank">
    <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
  </a>
</p>

> A NodeJS API client to Redmine REST API

## Prerequisites

- node >=10

## Install

```sh
yarn add @smartinsf/redmine-client
```

## Usage

Create an instance of `RedmineClient` to access the resources. E.g.:

```ts
import { RedmineClient } from '@smartinsf/redmine-client';

// Create an instance passing your Redmine host and the username and password credentials
// Only Basic authentication is supported for now
const client = new RedmineClient('http://redmine.yourhost.com', {
  username: 'test',
  password: 'secret',
});
```

### Resources

All resources accepts the params from [Redmine docs](https://www.redmine.org/projects/redmine/wiki/Rest_Issues#Updating-an-issue) in camelCase.

#### Issues

```ts
// Updating an issue
const issue = 123;
const params = {
  statusId: 1,
};
client.issues().update(issue, params);
```

#### Time Entries

```ts
// Listing time entries
const listParams = {
  offset: 1,
  limit: 100,
  projectId: 10,
  from: new Date(2020, 1, 1),
  to: new Date(2020, 1, 1),
  userId: 'me',
};
const timeEntries = client.timeEntries().list(listParams);

// Time entry creation
const params = {
  spentOn: new Date(2020, 2, 2),
  hours: 1,
  activityId: 2,
  comments: 'Testing redmine client',
  issueId: 10,
};
client.timeEntries().create(params);
```

## Links

Redmine wiki page: http://www.redmine.org/projects/redmine/wiki/Rest_api

## Author

👤 **Samuel Martins**

- Github: [@sfelix-martins](https://github.com/sfelix-martins)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/sfelix-martins/redmine-client/issues).

## Show your support

Give a ⭐️ if this project helped you!

---

_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
npm package: @smartinsf/webflow-form
Description: A simple package to handle with webflow forms.
Author: Samuel Martins
Latest version: 0.5.0

# Webflow Form

Setup your form to send some request and control the success and failing flow.

## Usage

Configure your form id, action and method. E.g.:

<img src="form-settings-sample.png" alt="Form settings sample"></img>

**IMPORTANT**: Set your form name in lowercase, without accents or special characters and with words separated by `-`.
- Bad: `@my form`, `Fomulário de contato`.
- Good: `contact-form`, `newsletter`, `ebook-request`.


Continuing... embed the package script in your webflow project and call the function `setUpWebflowForm` passing your form name (The same defined on form settings above). E.g.:

```html
<script onload="setUpWebflowForm('contact-form')" src="https://unpkg.com/@smartinsf/webflow-form"></script>
```

**Hint:** Click [here](https://university.webflow.com/lesson/custom-code-embed) for more details how to add an embed.

When the form was submitted a request will be sent to URL defined on `action` with `method` (POST, by default) and form data obtained from inputs inside your `form` element.

### Setup options

The function `setUpWebflowForm` can receive some options in your second parameter:

| Option                | Type                   | Description                                                                                                                   | Default value  |
|-----------------------|------------------------|-------------------------------------------------------------------------------------------------------------------------------|----------------|
| doneBlockSelector     | string                 | The selector of the element that contains the block to show on success.                                                       | .w-form-done   |
| failBlockSelector     | string                 | The selector of the element that contains the block to show on fail.                                                          | .w-form-fail   |
| waitTextAttributeName | string                 | The name of the attribute from form's submit button that contains the value that will be shown on button text during request. | data-wait      |
| prepareData           | (data: object): object | A function that receives the form data and must return the data that will be sent on request.                                 | (data) => data |

E.g.:

```js
setUpWebflowForm('contact-form', {
  doneBlockSelector: '.success-block',
  failBlockSelector: '.fail-block',
  waitTextAttributeName: '.fail-block',
})

```

## TODO

- Unit tests