3.0.0 • Published 6 days ago

gl-sp-frontend v3.0.0

Weekly downloads
26
License
ISC
Repository
github
Last release
6 days ago

gl-sp-frontend

version downloads downloads

What is this repository for?

This package (glaucioleonardo-sharepoint-frontend) is a common code for SharePoint 2013/2016 using among web front-end development such as ES6+ and TypeScript.

This package contains the types for using with Typescript.

How do I get set up?

The easiest way to install this library is via npm using the following commands:

  • Latest version npm install gl-sp-frontend --save;
  • Available versions npm install gl-sp-frontend@version --save;
  • If you need to support old browsers (tested in IE10+), just install those packages polyfills and import as the following sequence:

This is how you should include in your code and voila \o/:

import * as promise from 'es6-promise';
import 'whatwg-fetch';

class MyBeautifulClass {
    constructor() {
        promise.polyfill();
    }
}

If you are using Angular 2+, just import these packages inside polyfill.js and in the section: /** IE10 and IE11 requires the following for external source of SVG when using <use> tag */ include promise.polyfill(); and everything should work fine!

If you are using only browser version:

  • For ES5 version importing via
<!DOCTYPE html>
 <html lang="en">
 <head>
    <meta charset="UTF-8">
    <title>gl-sp-frontend</title>
    ...
 </head>
 <body>
    ...
    <!-- Include here -->
    <script src="https://github.com/glaucioleonardo/gl-sp-frontend/tree/master/lib/bundle.js"></script>
    <!-- or just download this repo and refer to the bundle.js like this -->
    <script src="js/bundle.js"></script>
 </body>
 </html>
  • In case you are using ES+, just use the bundle.js inside lib/es6

Macro features

  • Core: Setup
  • Retrieve list items
  • User permissions

Other features is going to be included frequently.

Other packages used

I'm really thankful for those packages creators!

3.0.0

6 days ago

2.4.7

11 days ago

2.4.6

2 years ago

2.4.5

3 years ago

2.4.4

3 years ago

2.4.3

3 years ago

2.4.2

3 years ago

2.4.1

3 years ago

2.4.0

3 years ago

2.3.9

3 years ago

2.3.8

3 years ago

2.3.7

3 years ago

2.3.6

3 years ago

2.3.5

3 years ago

2.3.4

3 years ago

2.3.3

3 years ago

2.3.2

3 years ago

2.3.1

3 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

1.0.0-alpha18

4 years ago

1.0.0-alpha17

4 years ago

1.0.0-alpha16

4 years ago

1.0.0-alpha15

4 years ago

1.0.0-alpha14

4 years ago

1.0.0-alpha13

4 years ago

1.0.0-alpha6

4 years ago

1.0.0-alpha7

4 years ago

1.0.0-alpha8

4 years ago

1.0.0-alpha9

4 years ago

1.0.0-alpha11

4 years ago

1.0.0-alpha10

4 years ago

1.0.0-alpha5

4 years ago

1.0.0-alpha4

4 years ago

1.0.0-alpha3

4 years ago

1.0.0-alpha2

4 years ago

1.0.0-alpha

4 years ago