font awesome v5 icons
1.0.0
إرجاع القائمة الفعلية لخط الرموز V5 الرائعة (صفيف JS عادي)
$ npm install --save font-awesome-v5-icons
const faIcons = require ( 'font-awesome-v5-icons' ) ;
faIcons . getList ( ) . then ( icons => console . log ( icons . length ) ) ;
//=> 875
faIcons . getList ( ) . then ( icons => console . log ( icons [ 0 ] ) ) ;
/*=>
{ name: '500px',
changes: [ '4.4', '5.0.0' ],
label: '500px',
search: { terms: [] },
styles: [ 'brands' ],
unicode: 'f26e',
voted: false
}
*/ النوع: function
إرجاع وعد بقائمة كاملة من الرموز V5 Awesome Font Awesome.
النوع: function
يعيد الوعد بقائمة كاملة من الرموز الرائعة مع المفاتيح المطلوبة فقط.
const faIcons = require ( 'font-awesome-v5-icons' ) ;
faIcons . getListByKeys ( [ 'name' , 'styles' ] ) . then ( icons => console . log ( icons [ 0 ] ) ) ;
//=> { name: '500px', styles: [ 'brands' ] } الخطوط الرائعة-حزمة منفصلة للخط الرائع V4
MIT © Sergii Lysenko